This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates 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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP 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: 42374
    
  64
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: 42374
    
  64
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