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: Multiple XML files for one XSL file


Can u provide some more information.Why u r calling the order_info template
again and again.It's infinite loop.What exactly are u trying to do here?

Francis


> -----Original Message-----
> From: scott.wright@marchFIRST.com [mailto:scott.wright@marchFIRST.com]
 
> <!-- Root Rule -->
> <xsl:template match='order_info'>
> 
>      <!-- reference an external file -->
>      <xsl:apply-templates select="document('external.xml')"/>
> 
>      <xsl:apply-templates select="order_info"/>
>      <xsl:call-template name='splitline'/>
> 
> </xsl:template>
> 
> <!--
> Match for the included XML file
> This template is the root for processing the included XML
> -->
> <xsl:template match='included_xml'>
>      <xsl:apply-templates select="doc_element"/>
> </xsl:template>
> 
> </xsl:stylesheet>
> 
> INCLUDED XML - external.xml
> <included_xml>
>      <doc_element></doc_element>
> </included_xml>
 


 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]