I don't think there is an API that allows you to get the comment in the style of

<!-- foo -->

but if you have annotations your XSD, then the newly exposed XSAnnotation class will probably do its job.

Han Ming

On Jan 29, 2004, at 10:13 AM, Endre Magyari wrote:

Dear List,


I have the following question:

Is it possible to access programmaticaly the <!-- comments --> in an XSD/DTD which belongs to an XML file.
After loading an existing XML file, I would need to scan the comments in the corresponding XSD/DTD file. (which of course, must had been available at the time of loading)


Thanks, Endre.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Attachment: smime.p7s
Description: S/MIME cryptographic signature



Reply via email to