This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: xHTML to WML
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] xHTML to WML
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Thu, 29 Mar 2001 14:55:22 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
> If this is passed to my XSLT sheet:
> <p> </p>
>
> I want to perform something like.....
> <xsl:if test="value of select <p> ==  " <p></p>>
>
> To produce:
> <p></p>
>
Try:
<xsl:template match="p[.=' ']">
<p/>
</xsl:template>
Mike Kay
Software AG
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list