[Home] [By Thread] [By Date] [Recent Entries]
Hi,
On 2/17/10 8:04 AM, Terry Badger wrote: <wrapper>This is a sample</wrapper> If the above is your XML then that also needs to contain a DOCTYPE declaration to define the entity. The following stylesheet works ok for me in oXygen: <!DOCTYPE xsl:stylesheet [ <!ENTITY nbsp " "> ]> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:output encoding="utf-8" indent="yes" method="html"/> <xsl:template match="/"> <xsl:copy-of select="."/> </xsl:template> </xsl:stylesheet> tested with the following XML <!DOCTYPE xsl:stylesheet [ <!ENTITY nbsp " "> ]> <wrapper>This is a sample</wrapper> Best Regards, George -- George Cristian Bina <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com
|

Cart



