[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Perpetuating xsl instructions
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|