AnsweredAssumed Answered

Dynamically Create Enumeration for XSD

Question asked by trgerhardt on Jul 23, 2007
Latest reply on Jul 25, 2007 by trgerhardt
Hi, I was wondering if it is possible to have a drop-down box in my web-form with all of the files in a folder as options. I think it is possible to do with JSP but i dont know JSP very well and was wondering if someone could help.

<xs:complexType name="files">
  <xs:sequence>
    foreach of the files in the folder {
    <xs:enumeration value="FILENAME" />
    }
  </xs:sequence>
</xs:complexType>

It would have that generated as an outisde XSD file then include it in my schema. Any know JSP well enough to help me out?

Outcomes