470,815 Members | 2,263 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,815 developers. It's quick & easy.

Everything in XSD could be located by XPATH?

Firstly, is it possible to locate everything in xsd by XPATH?
for example,
xs:element[@name="person"]/xs:complexType/xs:sequence/xs:element[@name="firstname"]
.....

Is there any good ways to record the XPath info through traversing the
XSD file?

Thanks!

Aug 8 '06 #1
1 1203
mavis wrote:
Firstly, is it possible to locate everything in xsd by XPATH?
I'm not sure what you're asking. Schemas are themselves XML documents,
so you can process them with XML tools -- so, yes, you can run XPaths
against those documents. Of course it's up to you to figure out what
XPath to write to retrieve the information you want from the schema.

The obvious alternative is to find a parser that returns a structured
data model for the schema, then navigate that model.
Is there any good ways to record the XPath info through traversing the
XSD file?
Again, I'm not sure what question you're asking.
--
() ASCII Ribbon Campaign | Joe Kesselman
/\ Stamp out HTML e-mail! | System architexture and kinetic poetry
Aug 8 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by bdinmstig | last post: by
4 posts views Thread by Son KwonNam | last post: by
6 posts views Thread by Scott Simpson | last post: by
5 posts views Thread by laks | last post: by
9 posts views Thread by David Thielen | last post: by
5 posts views Thread by Gnic | last post: by
reply views Thread by mihailmihai484 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.