Subject: Re: [xsl] find out if an attribute exist From: Greg Faron <gfaron@xxxxxxxxxxxxxxxxxx> Date: Tue, 07 May 2002 10:21:08 -0600 |
I need to do one thing if a specific attribute exists on an element and something else if it does not. How do I do this?
<xsl:choose> <xsl:when test="element/@attribute"> do one thing </xsl:when> <xsl:otherwise> do something else </xsl:otherwise> </xsl:choose>
Greg Faron Integre Technical Publishing Co.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] find out if an attribute , Roma Yankin | Thread | RE: [xsl] find out if an attribute , Khan, Amir |
Re: [xsl] Pad a string, Greg Faron | Date | Re: [xsl] Pad a string, Manish M. Shah |
Month |