[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Copy results

Subject: Re: Copy results
From: Michael Müller-Hillebrand <mmh@xxxxxxxxxxxxx>
Date: Tue, 8 Jul 2008 08:47:33 +0200
Re:  Copy results
Am 08.07.2008 um 01:29 schrieb Steven Ericsson-Zenith:

Dear list,

What is the optimal way to copy a results document? So, what one
would like perhaps is:

<xsl:result-document
               href="file1.xhtml,file2.xhtml">

</xsl:result-document>

Is the optimal way to do this to assign the page output to a
variable and then dump it in two consecutive result-documents?

I would not use a variable, but a named template which is called twice. In many situations the XSLT performance is so good, you would not notice any delay.

I would say the general way is to avoid redundancies like this. And I
guess this request has nothing to do with the XML content, but rather
some obscure requirements down the line. So, do not burden your XSLT
with such issues. Just use a command line command to duplicate the
file when needed.

- Michael

--
_______________________________________________________________
Michael M|ller-Hillebrand: Dokumentations-Technologie
Adobe Certified Expert, FrameMaker
Lvsungen und Training, FrameScript, XML/XSL, Unicode
<http://cap-studio.de/> -- Tel. +49 (9131) 28747

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.