[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] XQuery Updates in XSLT

Subject: Re: [xsl] XQuery Updates in XSLT
From: "Andrew Welch" <andrew.j.welch@xxxxxxxxx>
Date: Fri, 31 Oct 2008 10:39:04 +0000

2008/10/31 Jesper Tverskov <jesper@xxxxxxxxxxx>:
> Andrew Welch wrote:
> "I would think "none" - so everything has to be explicit."
> - - -
> I also have my doubts. Only add complexity if the benefits clearly
> outweighs that we need an extra tutorial or chapter in a text book.

:)  I don't have doubts... I'm always impressed with how XSLT works
(once I've got past the initial confusion ;)

It sounds like:

<xsl:mode default-action="copy"/>

would just be synonymous with the identity template, so "copy the
document apart from <foo> nodes" would be:

<xsl:mode default-action="copy"/>
<xsl:template match="foo"/>

Andrew Welch
Kernow: http://kernowforsaxon.sf.net/

Current Thread