Ok, I'm working with Alfresco. I have one field which is categories in a web form. The web form get the structure from XSD, so I'd like to get the values of that field dynamicly. Thus, I thought I could use parse a XML inside the XSD, this way I can get the values dynamicly. The type of categories would be SimpleType.
This my categories right now:
<xs:simpleType name="categories">
<xs:restriction base="xs:normalizedString">
<xs:enumeration value="Commnications"/>
<xs:enumeration value="Collaboration"/>
<xs:enumeration value="Academic"/>
<xs:enumeration value="Community"/>
<xs:enumeration value="Student Informations Systems"/>
<xs:enumeration value="Administrative Systems"/>
<xs:enumeration value="Career"/>
</xs:restriction>
</xs:simpleType>
I'd like to parse all the values from external file, so I don't know if I can do it. I've looked for soluctions in Internet, but I haven't found anything.
Can someone help me out with any way to solve this problem?
Thanks
PD: I'm sorry for last post
|