This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Web Services and the fly likes reading xsd nodes using a Dom parser Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Web Services
Reply locked New topic
Author

reading xsd nodes using a Dom parser

Prathyusha Reddy
Ranch Hand

Joined: Jan 20, 2010
Posts: 31
Hi ,can any one help me on how to read the below given xsd file and prepare html file

............
<xs:attribute name="type" use="optional">
<xs:annotation>
<xs:documentation>"seqnum" - Unique by system generated sequence number. </xs:documentation>
<xs:documentation>"code" - Unique by code string.</xs:documentation>
</xs:annotation>
...........

say one file like test.xsd which contains data
.........
<xs:attribute name="type" use="optional">
<xs:annotation>
<xs:documentation>"seqnum" - Unique by system generated sequence number. </xs:documentation>
<xs:documentation>"code" - Unique by code string.</xs:documentation>
</xs:annotation>
....................


in the above sample code i want 1. "seqnum" - Unique by system generated sequence number.
2. "code" - Unique by code string.

in dropdown box of html
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42958
    
  73
Please do not post the same question to multiple forums: CarefullyChooseOneForum

Let's continue the discussion in this duplicate thread.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: reading xsd nodes using a Dom parser
 
It's not a secret anymore!