Re: [xsl] Matching only text nodes with certain (complicated) properties

Subject: Re: [xsl] Matching only text nodes with certain (complicated) properties
From: Martin Honnen <Martin.Honnen@xxxxxx>
Date: Fri, 09 Jan 2009 18:16:59 +0100
David B?rgin wrote:

In one template of my XSL stylesheet I'd like to match a text node with certain properties. Namely, the template should match for any text node where the nearest preceding non-empty text node is farther away than (= comes before) the nearest preceding <pb/> (page-break milestone element).

<xsl:template match="text()[preceding::text()[1] >> preceding::pb[1]]">



--

	Martin Honnen
	http://JavaScript.FAQTs.com/

Current Thread