wood burning stoves 2.0*
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 Android Security Essentials Live Lessons this week in the Android 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
I agree. Here's the link: http://aspose.com/file-tools
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