Re: [xsl] xHTML to WML

Subject: Re: [xsl] xHTML to WML
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 29 Mar 2001 11:38:20 +0100
<xsl:if test="p='&#160;'">

from the parent of p, or if you are already in p's template

<xsl:if test=".='&#160;'">

Actually this will test true for things like <p><br/>&nbsp</p> as well
(it just tests the character data) if you care about that you could do a
more complicated test.

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet delivered
through the MessageLabs Virus Control Centre. For further information visit
http://www.star.net.uk/stats.asp

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


Current Thread