[xsl] interpreting the DTD

Subject: [xsl] interpreting the DTD
From: "Klaus Weitzer" <k.weitzer@xxxxxx>
Date: Tue, 16 Jan 2001 10:54:23 +0100
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


Current Thread