Re: How is this part of the XSLT specification to be interpreted?

Subject: Re: How is this part of the XSLT specification to be interpreted?
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 21 Jun 2000 17:08:42 +0100 (BST)
PS
Oh I just noticed that youve put all the documentation inside the
falback element, so now I'm completely confused.

<xsl:template match="main:xxx">
  <doc:template>
    <xsl:fallback><doc>
      This template matches the  "<xsl:value-of select="name()"/>"
element.</doc>
    </xsl:fallback>
  </doc:template>


is equivalent to

<xsl:template match="main:xxx">
     <doc>
      This template matches the  "<xsl:value-of select="name()"/>"
element.</doc>

ie just puts the stuff into the result tree?

Don't you want the documentation to be in the doc: elements, and
nothing (or the xsl code) to be in the fallback?

David


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread