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: How is this part of the XSLT specification to be interpreted?



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

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