[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] accessing the DTD
I would like to produce comboboxes or radio buttons based on the list of valid values for an attribute. My DTD has the valid values but I can't seem to get access to the set. I can get to the active value of the attribute only. <!ELEMENT car (#PCDATA)> <!ATTLIST car color (red|yellow|blue) "red"> <car color="blue"/> This gives me the color of the car, blue, but not the fact that the color could have been red or yellow. <xsl:template match="car"> color is <xsl:value-of select="@color"/> </xsl:template> I've checked the FAQ, the draft and various other links but can't find the magic. Thoughts anyone? Thanks, Larry Mason XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|