|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Handling  
=============================================================
I'm transforming an xhtml document and can't figure out how to handle CDATA
such as  .
eg:
<p> </p>
To output:
<p></p>
Ive got this to work:
<xsl:template match="p[.=' ']">
<p></p>
</xsl:template>
But changing #xa0 for nbsp wont work....(!)
Transform failed: reference to undeclared entity <found "nbsp">
Thanks to Mike K for some advice earlier but how can the nbsp be done?!
Kind regards,
Paul.
paulhoward.co.uk@xxxxxxxxxxxx
School of Computer Science & IT
University of Nottingham
Nottingham
UK
=============================================================
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








