Christopher, Christopher M. Golden wrote:
> After looking at what I wrote I realised that it was a bit unclear. I want the >output HTML document to have the " " entities left in it. Would the hexadecimal >representation of "&" be evaluated to "&" during the XSL transformation? if so then >"&<&asHex>;nbsp;" should work shouldn't it? As should be apparent I don't know the >hexadecimal value of "&". ;) > I'm afraight I was unclear myself ;) so lets use an example: <?xml version="1.0"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:output method="html" encoding="ISO-8859-1" /> <!-- we dont need to care about the actual document --> <xsl:template match="/"> <html> <body> <!-- insert some characters -->   <!-- the nonbr. space --> © <!-- the copyright --> & <!-- the ampersand --> <!-- and so on, the most widely used you will know by heart soon... --> </body> </html> </xsl:template> </xsl:stylesheet> the output you should get are the proper html-entities for the corresponding decimal character references, (I'm using Xalan): <html> <body> © & </body> </html> note that you don't need to encode the & in you xsl stylesheet. Markus. _______________________________________________ dom4j-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dom4j-user
