By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,516 Members | 1,369 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,516 IT Pros & Developers. It's quick & easy.

Reading the XSD to get the Elements and Attributes for the XML

P: n/a
Hi,
Is it possible to fetch the Elements and Attributes in XML by reading
the XSD??
I want to develop a application whose Elements and Attributes changes
when i change my Schema. The Elements and Attributes will be displayed
in the Form to fetch the user input and the new node will be appended
to the existing XML.
Any help regarding this would be of great help.

Thanks in Advance.

Apr 20 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
td*********@gmail.com wrote:
Is it possible to fetch the Elements and Attributes in XML by reading
the XSD??
I want to develop a application whose Elements and Attributes changes
when i change my Schema. The Elements and Attributes will be displayed
in the Form to fetch the user input and the new node will be appended
to the existing XML.
..NET implements a schema object model (SOM) that allows you to traverse
an XSD schema or a collection of XSD schemas. Look at XmlSchema and
XmlSchemaSet classes and have a look at this blog article on how to walk
the SOM
<http://blogs.msdn.com/stan_kitsis/archive/2005/08/06/448572.aspx>
with .NET 2.0.

--

Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/
Apr 20 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.