This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Reading the xsd nodes using DOM parser

 
Prathyusha Reddy
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,
Could anyone give me an idea how to read the xsd nodes using DOM
parser..
Thanks in advance
 
Ulf Dittmer
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Strangely enough, this was asked just yesterday: http://www.coderanch.com/t/479447/XML-Related-Technologies/reading-xsd-from-java
 
Prathyusha Reddy
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic