File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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, Talitha
I agree. Here's the link:
subject: Enumeration
It's not a secret anymore!