[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Re: [xsl] AW: extrem performance break down
Subject: Re: [xsl] AW: extrem performance break down From: Andrew Welch <andrew.j.welch@xxxxxxxxx> Date: Wed, 12 Dec 2012 15:05:16 +0000 |
On 12 December 2012 15:01, Szabo, Patrick (LNG-VIE) <patrick.szabo@xxxxxxxxxxxxx> wrote: > Hi again, > > Okay I followed your advice and now I got this: > > <xsl:variable name="special" select="*[not(ancestor-or-self::span[@class='heading' and count(preceding::span[@class='heading']) = 0])][self::p or self::ul or self::span[not(@class='heading' and count(preceding::span[@class='heading']) = 0)]][following::text()[starts-with(.,'Zum aktuellen Rechtsstand')] and ancestor::div[@class='comm.body'] and .//text()][1]"/> > > <xsl:template match="*[. intersect $special]" priority="20"> > ***something happens*** > </xsl:template> > > While having that cumbersome xpath as a match works, this does not. It just doesn't match. > Did i do anything wrong ? select="* If its a global variable, that will only select the root element. Needs to be //* -- Andrew Welch http://andrewjwelch.com
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] AW: extrem performance break , Szabo, Patrick (LNG- | Thread | [xsl] Inserting File Attributes Int, Nathan Tallman |
[xsl] AW: extrem performance break , Szabo, Patrick (LNG- | Date | [xsl] Inserting File Attributes Int, Nathan Tallman |
Month |
Keywords