This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: recursively including xml-files


> <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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]