Subject: Re: [xsl] XSLT 1.0 serializer for XML From: David Carlisle <davidc@xxxxxxxxx> Date: Thu, 19 Aug 2010 17:01:35 +0100 |
Question 1: While '<' and'&' must be escaped,'>' must not. But the output of <xsl:copy-of select="/"/> does escape the '>', too.
This was the reason for template escapeLtGtAmp to escape all three in order to match the copy-of behavior. Why does xsl:copy-of escape '>'?
Question 2: The displayed output looks quite nice for Firefox, Chrome, Safari and Opera browsers (Firefox does not support the namespace:: axis and cannot handle and display namespaces). Why is the serialized XML displayed by IE6 and IE8 looking completely different to all the other browsers (ugly)?
Question 3: Is it correct, that a stylesheet cannot have access to the CDATA sections? (I think the parser removes them)
Question 4: Is it correct, that a stylesheet cannot access the "original" attribute values (including eg. newlines) but only the result of Attribute-Value Normalization [8]?
________________________________________________________________________ The Numerical Algorithms Group Ltd is a company registered in England and Wales with company number 1249803. The registered office is: Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] XSLT 1.0 serializer for X, David Carlisle | Thread | Re: [xsl] XSLT 1.0 serializer for X, Hermann Stamm-Wilbra |
Re: [xsl] XSLT 1.0 serializer for X, David Carlisle | Date | Re: [xsl] XSLT 1.0 serializer for X, Hermann Stamm-Wilbra |
Month |