Subject: Re: recursively including xml-files
From: Steve Tinney <stinney@xxxxxxxxxxxxx>
Date: Wed, 02 Feb 2000 13:03:31 -0500
|
> <xsl:template match="my-include">
> <xsl:copy-of select="document(self::node())"/>
> </xsl:template>
>
> now, my problem. what if b.xml has also a <my-include>-element?
> how do i recursively include this files? is this possible?
Try <xsl:apply-templates> instead of <xsl:copy-of>.
Steve
--
----------------------------------------------------------------------
Steve Tinney Babylonian Section
* University of Pennsylvania Museum
stinney@xxxxxxxxxxxxx Phila, PA. 215-898-4047
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|