How to access version attribute and its value for xml schema root element (<xsd:schema>).

"Irene Levina" <[email protected]>
Newsgroups gmane.text.xml.general
Message-ID <A6A41FE8D94A2A4BBF46F71D6EBCB77922A686@MAIL01.bedford.progress.com>
Hi all,

 

Sorry for such a wide distribution of this question.

 

I am having set of xml schemas that I would like parse and look at their
content  using XML Schema API(note: I don't would like to prepares them
for efficiency), additionally I would like to get the following data: 

      "version" attribute value that is specified in schema root element
(xsd:schema)

     "schemaLocation" attribute value that is specified in xsd:import
element

 

I can't use SchemaCrammer and its XSModel to obtain value of those
attributes, how I can do it?

 

Thanks,

 

Irene Levina.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.