Hi,
It's kind of hard to figure out what you are looking for...
First thing that come to my mind is something like...

<xsl:result-document href="outputfile1.xml">
   //your 2000 lines template
</xsl:result-document>

<xsl:result-document href="outputfile2.xml">
   //your 2000 lines template
</xsl:result-document>

Of course you can iterate through some node-set to get the differente output files, and you probably want to pass some parameter or something to your code in order to output different files. 
Hope it helps,

d


On Thu, Apr 23, 2009 at 11:03 AM, Michael Kay <mike@saxonica.com> wrote:
Sorry, I don't understand the question.

You have some code, which you haven't shown us, which works fine except that
it produces the wrong output? And you want to produce different output
without changing the code?

Try to put yourself in the position of a reader of your post. How would you
expect them to react?

Michael Kay
http://www.saxonica.com/

> -----Original Message-----
> From: mo# [mailto:moritz@arch-ruff.de]
> Sent: 22 April 2009 10:05
> To: saxon-help@lists.sourceforge.net
> Subject: [saxon] multi xml-output
>
>
> hey everybody,
>
> i'm stuck using saxon. i have a .xml file witch should be
> processed by an single XSLT file (its for docx creation).
> so saxon has to create multiple xml files from this 2 sourcefiles...
> is there an chance to keep this simple (without changing my
> XSLT-File or 2000 lines of code?)
>
> my .xml and XSLT- Files work fine its just the output from saxon...
>
> thanks for your help
>
>
> btw: using c# and saxon 9
> --
> View this message in context:
> http://www.nabble.com/multi-xml-output-tp23172423p23172423.html
> Sent from the saxon-help mailing list archive at Nabble.com.
>
>
> --------------------------------------------------------------
> ----------------
> Stay on top of everything new and different, both inside and
> around Java (TM) technology - register by April 22, and save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today.
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> _______________________________________________
> saxon-help mailing list archived at http://saxon.markmail.org/
> saxon-help@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/saxon-help


------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
saxon-help mailing list archived at http://saxon.markmail.org/
saxon-help@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/saxon-help