This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

interpreting the DTD


Hi!
With this XML - Doc:
...
<ROOT>
<NODE ATTR="blue"/>
<NODE ATTR="red"/>
...
</ROOT>

and this DTD:
...
<!ELEMENT NODE>
<!ATTLIST NODE
ATTR ('blue'| 'red'| 'green' ) #REQUIRED
>

I want to generate a HTML - Form like this:
...
<!-- Generating an option list depending on current DTD -->
<SELECT ...>
<INPUT TYPE="option" VALUE="red" ...>
<INPUT TYPE="option" VALUE="blue" ...>
<INPUT TYPE="option" VALUE="green" ...>
</SELECT>
...

It was impossible for me to access the contents of the referenced DTD
in a XML - Doc with MSXML 1.0

Thanks in advance 
Klaus Weitzer

PS.: Above code is syntactically incorrect, i know.

_______________________________________________________________________________
Alles unter einem Dach: Informationen, Fun, E-Mails. Bei WEB.DE: http://web.de
Die große Welt der Kommunikation: E-Mail, Fax, SMS, WAP: http://freemail.web.de


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]