This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes Enumeration 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 » Engineering » XML and Related Technologies
Bookmark "Enumeration " Watch "Enumeration " New topic


Talitha Bell

Joined: Oct 01, 2007
Posts: 29
I want to show file path
<xs:simpleType name="us-state">
<xs:restriction base="xs:normalizedString">
<xs:enumeration value="AL"/>
<xs:enumeration value="AK"/>
<xs:enumeration value="AZ"/>
<xs:enumeration value="AR"/>

in the value, section ,it could be in any specific folder in the file system ,but problem is that i don't know ,how many file in the folder,can it possible to show the file path in the value section .


<xs:simpleType name="us-state">
<xs:restriction base="xs:normalizedString">
<xs:enumeration value="c:/abc/a.txt"/>
<xs:enumeration value="c:/abc/b.jpg"/>
<xs:enumeration value="c:/abc/c.pdf"/>
<xs:enumeration value="c:/abc/e.doc"/>

Thanks <br />Talitha
Don't get me started about those stupid light bulbs.
subject: Enumeration
Similar Threads
A question about XML enum to java enum
XSD - restrctions/enumeration - Only Weekdays
Regular Expression in Schema
Significance of this tag