aspose file tools*
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
Marshal

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

Let's continue the discussion in this duplicate thread.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: reading xsd nodes using a Dom parser