xsl-list
[Top] [All Lists]

[xsl] problem with intersect in match pattern

2014-06-06 05:38:39
Hi,

I have the following variable

<xsl:variable name="var1">
        <xsl:copy-of select="//desiredelement"/>
</xsl:variable>

Afterwards I'd like to match any element that matches the xpath 
"//desiredelement" i.e. is in var1.

<xsl:template match="*[. intersect $var1]">
...
</xsl:template>

...which doesn't work at all. I'm sure that my elements are in var1 though.

Any help would be much appreciated.


. . . . . . . . . . . . . . . . . . . . . . . . . .
Ing. Patrick Szabo
Developer
LexisNexis
A-1030 Wien, Marxergasse 25

mailto:Patrick(_dot_)Szabo(_at_)lexisnexis(_dot_)at
Tel.: +43 1 53452 1514
Fax.: +43 1 534 52 146

. . . . . . . . . . . . . . . . . . . . . . . . . .
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--

<Prev in Thread] Current Thread [Next in Thread>