Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Enumeration  RSS feed

 
Talitha Bell
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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>


 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!