RE: XSLT processor performance

Subject: RE: XSLT processor performance
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Mon, 31 Jul 2000 09:47:36 +0100
> <xsl:stylesheet 
> xmlns:xsl='' version="1.0"
>   xmlns:xt="";
>   xmlns:ora="";
>   xmlns:saxon="";
>   xmlns:xalan="org.apache.xalan.xslt.extensions.Redirect"
>   extension-element-prefixes="saxon xt xalan ora"
>   exclude-result-prefixes="ora saxon xt xalan"
>   >
> <ora:output name="oout" method="html"/>

Saxon is wrong to reject the ora:output, it should ignore it. It's doing the
test "this is an element in an extension element namespace that I don't
recognise" before it does the test "this is a top-level element, so I should
ignore it if I don't recognise its namespace".

I don't know how ora:output is designed to work, by the way, but
saxon:output is an instruction, not a top-level elements, so it only makes
sense to use it within a template body. 

Mike Kay

 XSL-List info and archive:

Current Thread