|
Subject: Re: name() and attribute() From: David Allouche <david@xxxxxxxxxxxxxxxx> Date: Wed, 23 Aug 2000 14:41:35 -0200 (GMT+2) |
On Wed, 23 Aug 2000, Lee Goddard wrote:
> ...alternatively....
>
> I'm trying to output an attribute only if
> if exists; although the below choose block
> works, it doesn't really seem like good
> practice -- could someone please let me
> know what is?
>
> <xsl:choose>
> <xsl:when test="@name">blue</xsl:when>
> <xsl:choose>
Could you be more precise, what are the surrounding xsl elements ?
On what data set are you operating, and what do you want to get as output?
Hope this help us help.
-- David --
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: name() and attribute(), Lee Goddard | Thread | Re: name() and attribute(), Lee Goddard |
| Re: XML Parser for Macs, Eric van der Vlist | Date | Re: Selecting unique value of an at, Oliver Becker |
| Month |