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

Re: how to get value out of the attlist ?

Subject: Re: how to get value out of the attlist ?
From: Jingwen Wang <wang@xxxxxxxxxxxxxxx>
Date: Wed, 01 Dec 1999 23:43:08 -0800
jingwen wang
PLEASE HELP!
I still don't have any luck yet, even after I tried:

Date: <b><xsl:value-of select="DATE[@FIND_VALUE]"/></b> <br/>

Thanks!
Gene
Jingwen Wang wrote:

> 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

--
Jingwen "Gene" Wang
Sr. Software engineer
StockMaster.com
20300 Stevens Creek Blvd., Ste. 400
Cupertino, CA
tel/    408.861.3463
fax/    408.861.3401
wang@xxxxxxxxxxxxxxx
http://www.stockmaster.com



 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.