aspose file tools*
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 Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Enumeration " Watch "Enumeration " New topic
Author

Enumeration

Talitha Bell
Greenhorn

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"/>
</xs:restriction>
</xs:simpleType>

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 .


like

<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"/>
</xs:restriction>
</xs:simpleType>




Thanks, Talitha
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Enumeration