[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

interpreting the DTD

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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.