Subject: [xsl] Confused about entities From: "Gary Stewart" <the.stewarg@xxxxxxxxx> Date: Tue, 14 Mar 2006 13:37:49 +0000 |
Hi there, I've been trying to search for a solution, in XSLT, to convert HTML encoded entities (such as ) into the unicode entity (such as &#A0;) while going through the pipeline. Basically an XML document to be processed includes the HTML entities but I want to change them for the target document. The document is later put into another XSL template and that's where it reports that "he entity "nbsp" was referenced, but not declared". I've tried declaring a DTD in the first document for the stylesheet hoping that would do the conversion but it doesn't seem to have. Is there a way to do this in XSLT or to get the second stylesheet to understand the entities even if they aren't included with the XML document passed to it. Thanks, sorry that my brain doesn't seem to be able to get around this; I looked at a few search results and they didn't seem to make much sense. Gary
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Mapping Values., Amal | Thread | Re: [xsl] Confused about entities, andrew welch |
RE: [xsl] FW: XSL to split a concat, Michael Kay | Date | Re: [xsl] Confused about entities, andrew welch |
Month |