Subject: RE: [xsl] Word Highlighting From: Paul Terray <terray@xxxxxxxxxxxx> Date: Tue, 05 Nov 2002 14:51:08 +0100 |
Hi,
[snip]
Which processor are you using? Entities will not generate separate text nodes in the data model, il.e. a text node never has an immediately following or preceding sibling that is a text node - see <http://www.w3.org/TR/xpath#section-Text-Nodes>.
Anyhow, if you have to use a product which creates several text as you described, your problem becomes a grouping problem: process only the first (or last) text node in a group of consecutive text nodes, and there combine the consecutive text nodes into a RTF, and pass that to "marquage" template.
How to combine them ? I tried <xsl:variable name="l_mycontent" select=".|./following-sibling::text()"/>
Cheers,
Jarno
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Word Highlighting, Jarno . Elovirta | Thread | Re: [xsl] Word Highlighting, Mike Brown |
[xsl] RE: Problem With Different Co, Schwartz, Rechell R, | Date | AW: [xsl] expression must evaluate , "Braumüller, Hans" |
Month |