RE: [xsl] xHTML to WML

Subject: RE: [xsl] xHTML to WML
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Thu, 29 Mar 2001 14:55:22 +0100
> If this is passed to my XSLT sheet:
> <p>&nbsp</p>
> 
> I want to perform something like.....
> <xsl:if test="value of select <p> == &nbsp" <p></p>>
> 
> To produce:
> <p></p>
> 

Try:

<xsl:template match="p[.='&#xa0;']">
<p/>
</xsl:template>

Mike Kay
Software AG

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread