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

how to get value out of the attlist ?

Subject: how to get value out of the attlist ?
From: Jingwen Wang <wang@xxxxxxxxxxxxxxx>
Date: Wed, 1 Dec 1999 12:13:01 -0500 (EST)
jingwen wang
Hi,

If I have a dtd, like this:
       <!ELEMENT DATE (#PCDATA)>
       <!ATTLIST DATE
                 FIND_VALUE (True|False) "False"
                 OTHER_VALUE CDATA #IMPLIED>

And I have xml like this:
        <DATE>       Oct 4, 1999 5:19:00 PM </DATE>

Then in my xsl, I can get Date element by using:
Date: <b><xsl:value-of select="DATE"/></b> <br/>

Then when I double click on my xml page the html will be shown on ie/netscape.

But how can I get the attlist value of FIND_VALUE and OTHER_VALUE?

Thanks much!

Gene


 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.