I'm thinking you've got a recursive loop here. You said you had:

<xsl:template match="/">
  <combined>
    <xsl:copy-of select="document('axkit:a.xml')"/>
    <xsl:copy-of select="document('b.xml')"/>
  </combined>
</xsl:template>

presumably this xslt is being called from a.xml? In that case, calling document('axkit:a.xml') would be infinitely recursive and therefore very bad.


simon

On Dec 13, 2004, at 1:26 PM, John Fessenden fess wrote:


On Dec 10, 2004, at 2:01 PM, S. Woodside wrote:

can we see a.xml?

thanks for responding!

here's a.xml, b.xml and ab.xsl

a.xml
------
<?xml-stylesheet href="ab.xsl" type="text/xsl"?>
<page>
<title>a.xml</title>
<content>blah</content>
</page>


b.xml ------ <?xml-stylesheet href="ab.xsl" type="text/xsl"?> <page> <title>b.xml</title> <content>de dah</content> </page>



ab.xsl
------
<?xml version="1.0"?>
<xsl:stylesheet
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; version="1.0"
>

<xsl:output
  method="xml"
  indent="yes"/>

<xsl:template match="/page">
  <html>
  <head>
    <title>
      <xsl:value-of select="title"/>
    </title>
  </head>
  <body>
    <xsl:value-of select="content"/>
  </body>
  </html>
</xsl:template>

</xsl:stylesheet>







---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to