This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: How is this part of the XSLT specification to be interpreted?
- To: xsl-list at mulberrytech dot com
- Subject: Re: How is this part of the XSLT specification to be interpreted?
- From: David Carlisle <davidc at nag dot co dot uk>
- Date: Wed, 21 Jun 2000 17:08:42 +0100 (BST)
- References: <39B19660C174D311BB9000A0C9E01C3F317E4F@corfu.rnib.org.uk>
- Reply-To: xsl-list at mulberrytech dot com
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