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

Re: Perpetuating xsl instructions

Subject: Re: Perpetuating xsl instructions
From: Alan Gardner <scipiomedia@xxxxxxxxxxx>
Date: Mon, 12 May 2003 08:50:01 -0600
alan gardner
Okay, let me try to explain it in another way...
master.xsl has the something along these lines:

    <xsl:template match="/">
        <xsl:apply-templates select="*"/>
    </xsl:template>
    
    <xsl:template match="*">
        <xsl:copy-of select="."/>
    </xsl:template>

I need to copy doc1.xml's contents and append them to the bottom of
master.xsl (in effect, master.xsl is outputting to itself, each time growing
as more and more xml documents are appended to it). Since I won't always
know how many xml documents need to be appended, I can't manually
select="document()" them. So as doc1.xml's contents are outputted to
master.xsl, I need a way to keep the original xsl lines (see above) in the
master.xsl document for the next transformation  (doc2.xml, doc3.xml
doc~n.xml).

So the question restated is: how do I keep those transformation instructions
continually present (passed back into itself) through each iteration so that
it's ready for the next transformation?

Alan

On 5/9/03 11:22 AM, "Jeni Tennison" <jeni@xxxxxxxxxxxxxxxx> wrote:
> If you can give a fuller description of what you're trying to do, we
> might be able to help further...
> 
> Cheers,
> 
> Jeni
> 
> ---
> Jeni Tennison
> http://www.jenitennison.com/
> 
> 




 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.