J
Joris Gillis
Hi everyone,
I have this stylesheet:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xslutput method="xml"/>
<xsl:template match="/">
<node>'</node>
</xsl:template>
</xsl:stylesheet>
My goal is to get this output:
<?xml version="1.0" encoding="UTF-8"?><node>'</node>
I've tried '&apos;' , '''
I tried to do it with custom ENTITY's in the DOCTYPE.
I tried with CDATA sections.
But non of it works.
I know it works if the output method is 'text', but it has to work in
'xml' too.
Any help or comments greatly appreciated...
I have this stylesheet:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xslutput method="xml"/>
<xsl:template match="/">
<node>'</node>
</xsl:template>
</xsl:stylesheet>
My goal is to get this output:
<?xml version="1.0" encoding="UTF-8"?><node>'</node>
I've tried '&apos;' , '''
I tried to do it with custom ENTITY's in the DOCTYPE.
I tried with CDATA sections.
But non of it works.
I know it works if the output method is 'text', but it has to work in
'xml' too.
Any help or comments greatly appreciated...