[xslt] Use character entities to represent non-ASCII characters



Hi,

 

I am trying to use libxslt to transform an XML file that contains non-ASCII characters to an HTML file. Other xslt processors, such as JAXP and Xalan, replace non-ASCII characters with their character entity equivalents, e.g., £ -> £ However, libxslt simply outputs the UTF-8 rendition of the non-ASCII character.

 

Is there a way to get libxslt to output the equivalent character entity instead?

 

Paul

 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]