This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
interpreting the DTD
- To: "XSL-List" <xsl-list at lists dot mulberrytech dot com>
- Subject: [xsl] interpreting the DTD
- From: "Klaus Weitzer" <k dot weitzer at web dot de>
- Date: Tue, 16 Jan 2001 10:54:23 +0100
- Organization: http://freemail.web.de/
- Reply-To: xsl-list at lists dot mulberrytech dot com
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