Hi Adam,
I've found two ways:
1. Use Saxon as your XSLT processor: http://wiki.apache.org/cocoon/Saxon
2. Use the new XHTML serializer instead (see the cocoon-serializers-block). There is not a lot of documentation on this, and I did experience some issues with XSLTs that used xsl:copy (an error relating to the XML namespace???). It has the advantage of serializing a lot of special characters as entities (i.e. £ instead of � - good for Mac IE), but, these characters include ' which IE renders as ', not '.
Hope this helps, Mark
On 22 Dec 2004, at 23:09, Adam Ratcliffe wrote:
Hi,
�
I've just upgraded from Cocoon 2.1.5 to 2.1.6.� I now have a problem with the output of a pipeline that uses the XML serializer including tab character
references, 	
�
The pipeline that generates the output looks like this:
�
����� <map:match pattern="locationserver/*.jx">
�������� <map:generate type="jx" src="xml/locationserver/{1}.jx"/>
�������� <map:serialize type="xml"/>
����� </map:match>
�
The pipeline is called from within my flowscript in this function:
�
��� var template = "locationserver/RouteQuery.jx";
��� var output = new ByteArrayOutputStream();
��� cocoon.processPipelineTo(template, {"mapContext" : mapContext}, output);
�
and an excerpt of what comes out of the pipeline is this:
�
<?xml version="1.0" encoding="ISO-8859-1"?><ls:operation xmlns:ls="LSSchema" xmlns:jx="http://apache.org/cocoon/templates/jx/1.0">
� <operationName>OrdbyDist</operationName>
� <parameters>	
��� <orderByDistParams>
����� <sourceLocation>
	
	
	
	��� <spotLocation>
	����� <coordinate>
		<point>
�
Any ideas on how to exclude these character references from the output would be much appreciated.
�
Cheers
Adam
�
�
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
