|
[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
[Recent Entries]
[Reply To This Message]
Re: Matching only text nodes with certain (complicated
Subject: Re: Matching only text nodes with certain (complicated) properties
From: Martin Honnen <Martin.Honnen@xxxxxx>
Date: Fri, 09 Jan 2009 18:18:25 +0100
|
Martin Honnen wrote:
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]]">
I think you want << instead of >>:
<xsl:template
match="text()[preceding::text()[1] << preceding::pb[1]]">
--
Martin Honnen
http://JavaScript.FAQTs.com/
|
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format
| RSS 2.0 |
|
| Atom 0.3 |
|
|