|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: how can check whether an attribute exists or not?
> <xsl:when test="@href=''"> That tests if the string value is empty, which is true if there isn't an attribute or of it s explictly empty. <xsl:when test="@href"> would test if there is an attribute at all. (Becuae @href selects the node set of href attributes, and empty nodes sets count as false in a boolean test) David 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
|

Cart








