This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: recursively including xml-files
- To: xsl-list at mulberrytech dot com
- Subject: Re: recursively including xml-files
- From: Steve Tinney <stinney at sas dot upenn dot edu>
- Date: Wed, 02 Feb 2000 13:03:31 -0500
- References: <NDBBLHENDIFCGIAGGNLNGEECCBAA.rainer_kerl@hpl.hp.com>
- Reply-To: xsl-list at mulberrytech dot com
> <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@sas.upenn.edu Phila, PA. 215-898-4047
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list