This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes Reading the xsd nodes using DOM parser Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Reading the xsd nodes using DOM parser" Watch "Reading the xsd nodes using DOM parser" New topic
Author

Reading the xsd nodes using DOM parser

Prathyusha Reddy
Ranch Hand

Joined: Jan 20, 2010
Posts: 31
Hi ,
Could anyone give me an idea how to read the xsd nodes using DOM
parser..
Thanks in advance
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41057
    
  43
Strangely enough, this was asked just yesterday: http://www.coderanch.com/t/479447/XML-Related-Technologies/reading-xsd-from-java


Ping & DNS - my free Android networking tools app
Prathyusha Reddy
Ranch Hand

Joined: Jan 20, 2010
Posts: 31
Hi, many thanks for your response..
you have suggested xpath like that..i would be soo happy if you send me some sample code to read node by node of xsd...
The problem is there is duplicate code in my xsd and order in xsd..
Prathyusha Reddy
Ranch Hand

Joined: Jan 20, 2010
Posts: 31
sorry ..for the inconvienince to you..i could not get any proper answer so that i have posted again in another link..
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41057
    
  43
Check out the XmlFaq; it links to some introductory articles regarding XPath. I don't understand what you mean by "duplicate code in xsd and order in xsd"; please elaborate.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Reading the xsd nodes using DOM parser
 
Similar Threads
xml
Bulk XML messages
how to make visible 2 combo boxes
How to ignore whitespace in text nodes?
Specifying XSD to validate against at runtime