wood burning stoves*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 41015
    
  43
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
 
Similar Threads
Unexpected element 'UUID'...expected element 'UUID' ???
reading xsd from java
converting xsd to html
Axis 1.4 throwing org.xml.sax.SAXException: Invalid element
how can i use xs:unique for avoiding duplicacy of attribute name in xml