Dear Jakub,

as far as I know, Xalan-C does not support extension elements. If you would
like to use the redirect, you have to take another XSLT processor like
Xalan-J. Please note: Xalan-C and Xalan-J are completely different
products. If you read about features on the web pages of Xalan-J you cannot
use this blindly with Xalan-C.

Regards,

HolgeR

kuba m schrieb:

> hi all, I was trying to make Xalan save the output into separate files for 
> separate elements using this <redirect:write> element, 
> I modified the xsl:stylesheet tag to look like this :
> 
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
>    xmlns:redirect="http://xml.apache.org/xalan/redirect";
>    extension-element-prefixes="redirect"
>    version="1.0">
> 
> then in a rule for my "class" element I try this in my xsl file (so that I 
> get different files of the name of the classes)  :
> 
> <xsl:variable name="filename" select="@name" />
> <redirect:write select="$filename">
> <!-- here some rules -->
> </redirect:write>
> 
> when trying to run xalan with the above xsl file it says :
> 
> XSLT Warning: The processor does not support extension elements.Source tree 
> node: class. (file:///home/halski/przyklad/ex.xsl, line 19, column 38.)
> 
> Anyone knows how to enable this ? Or what to use instead that would allow me 
> to do the above ?
> Any help is appreciated. Thanks.
> 
> Jakub
> 

-- 
holger floerke                      d  o  c  t  r  o  n  i  c
email [EMAIL PROTECTED]          information publishing + retrieval
phone +49 228 92 682 00             http://www.doctronic.de

Reply via email to