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

Re: [xsl] with select attribute


Subject: Re: [xsl] <xsl:apply-imports/> with select attribute
From: Michael Kay <mike@xxxxxxxxxxxx>
Date: Thu, 19 Dec 2013 11:56:41 +0000

What would you want this construct to actually do?

apply-imports means "process the current node using the template that would
have matched if this one didn't". It's hard to see what that could mean when
processing a different node, i.e. one that doesn't necessarily match the
current template rule.

Michael Kay
Saxonica

On 19 Dec 2013, at 11:07, Christian Mahnke <cmahnke.sub@xxxxxxxxxxxxxx>
wrote:

> Hi list,
> is there a way (in XSLT 2.0) to get a mix of <xsl:apply-templates
select="document($file)/> and <xsl:apply-imports/>? Something like
<xsl:apply-imports select="document($file)/>
> This doesnt seem to be valid but would be very useful
>
>
> Best,
> Christian


Current Thread
Keywords