This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: xHTML to WML


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]