Subject: Re: [xsl] Supressing entity expansion during XSLT transform From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Thu, 10 Jan 2008 23:07:10 -0600 |
[1] I want to write a transform which prevents entity expansion.
For e.g. the output of transform should be (this is an identity transform):
<?xml version="1.0"?> <!DOCTYPE root [ <!ENTITY x "hello"> ]> <root> <a>&x; world</a> </root> ... I get the output:
<?xml version="1.0" encoding="UTF-8"?> <root> <a>hello world</a> </root>
But I want the output as specified in [1] above.
What is the solution to this problem?
I can use XSLT 2.0.
-- Comprehensive in-depth XSLT2/XSL-FO1.1 classes: Austin TX,Jan-2008 World-wide corporate, govt. & user group XML, XSL and UBL training RSS feeds: publicly-available developer resources and training G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995) Male Cancer Awareness Nov'07 http://www.CraneSoftwrights.com/s/bc Legal business disclaimers: http://www.CraneSoftwrights.com/legal
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Supressing entity expansion d, Mukul Gandhi | Thread | Re: [xsl] Supressing entity expansi, Mukul Gandhi |
[xsl] Supressing entity expansion d, Mukul Gandhi | Date | [xsl] Libxslt exstension with plugi, Giulio Rizzo |
Month |