This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman 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 Building Microservices this week in the Design 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
Rancher

Joined: Mar 22, 2005
Posts: 42958
    
  73
Strangely enough, this was asked just yesterday: http://www.coderanch.com/t/479447/XML-Related-Technologies/reading-xsd-from-java
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
Rancher

Joined: Mar 22, 2005
Posts: 42958
    
  73
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
 
jQuery in Action, 3rd edition