forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steven Noels" <stev...@outerthought.org>
Subject RE: import of xml.apache.org main site into forrest
Date Wed, 05 Jun 2002 11:52:45 GMT
> From: Bert Van Kets [mailto:bert@vankets.com]

> An alternative is
>
> <xsl:template match"/">
>    <xsl:copy-of>
>      <xsl:value-of select="."/>
>    </xsl:copy-of>
> </xsl:template>
>
> This copies the complete root node to the output incl.
> attributes and children.

... but doesn't allow you to specify any other templates for particular
patterns underneath the root node, since this template will bypass all
other templates that could affect the output tree. I teach this in my
courses as being a bad practice, do you guys have any thoughts on this?

</Steven>


Mime
View raw message