I have this XML schema based on which documents are generated on fly and distributed to third parties. Is there any way to add comments/documentation to elements in each XML instance generated ?
Asked
Active
Viewed 118 times
0
-
2This cannot be answered unless you describe the way you generate your schema on the fly. – lexicore Dec 03 '14 at 10:26
-
Schema is not generated on fly, just the documents complying to the schema generated on fly. – Amit P Dec 08 '14 at 07:43
-
Ok, don't tell us anything else, let us telepathically guess how you generate your XML instances. – lexicore Dec 08 '14 at 08:12
-
Using JAXB to generate classes from XMLSchema,which is done offline. Based on these generated classes, XML instance documents are generated during runtime. – Amit P Dec 08 '14 at 08:17
-
1http://stackoverflow.com/questions/1347534/add-xml-comments-into-marshaled-file – lexicore Dec 08 '14 at 09:00