Dear Jakub, there is no way to generate multiple output files conforming to standards. David wrote in an earlies thread """ No, Xalan-C++ does not support extension elements, so it does not support exsl:document. We'ed like to add support for extension elements and exsl:document, but it will take some time to make that happen. It's on my list of things to do once 1.10 has been released, and I get some time to work on it. """
If you are familiar with DOM programming, you can write your own transformer executable. Use Xalan-C to generate Xerces-C DOM and implement a DOM traversal to generate multiple output files. It is not an easy way. HolgeR kuba m schrieb: > hi, > > I need to use Xalan-C. is there any way to create multiple output files like > when using Redirect method but for Xalan-C ? > > thanks, > Jakub > > >>----- Original Message ----- >>From: "Holger Flörke" <[EMAIL PROTECTED]> >>To: [email protected] >>Subject: Re: Redirect problem >>Date: Wed, 22 Feb 2006 13:31:12 +0100 >> >> >>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 > > > > > -- 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
