Re: [xsl] generating xml from xslt

Subject: Re: [xsl] generating xml from xslt
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Tue, 26 Aug 2008 15:12:45 -0400
Hi,

At 01:21 PM 8/26/2008, you wrote:
Is there a quicker way of doing this instead of
entering the value for the parameters everytime the transformation is
run? I have xalan xslt processor. If I want to generate 50 files it
will take a long time to run this transformaiton.

You could put the data (for all 50 files) in an XML document of its own and read that in using the XSLT document function. However to then generate different result files you need XSLT 2.0 with xsl:result-document (for instance using Saxon 9 instead of Xalan) or you need to check whether your Xalan processor provides an extension to create several result document with one transformation.

It does. See http://xml.apache.org/xalan-j/extensionslib.html#redirect. You probably want xalan:write.


Cheers,
Wendell



======================================================================
Wendell Piez                            mailto:wapiez@xxxxxxxxxxxxxxxx
Mulberry Technologies, Inc.                http://www.mulberrytech.com
17 West Jefferson Street                    Direct Phone: 301/315-9635
Suite 207                                          Phone: 301/315-9631
Rockville, MD  20850                                 Fax: 301/315-8285
----------------------------------------------------------------------
  Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================

Current Thread