ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> xsl-list
xsl-list
RE: [xsl] Word Highlighting
by Paul Terray other posts by this author
Nov 5 2002 1:51PM messages near this date
RE: [xsl] access document object during xform on IE6 | Re: [xsl] Word Highlighting
At 11:25 05/11/2002 +0200, you wrote:
> Hi,

Hello,


> [snip]

[re-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>.

MSXML 3.0 and 4.0 exhibit this behavior. Perhaps is it linked to my entity 
definition :
<!ENTITY eacute "&#38;#x00E9;"> 

> 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()"/> 

with no success : when I address $l_my content (like <xsl:value-of 
select="$l_mycontent"/> ), I only get the first text() node...


> Cheers,
> 
> Jarno
> 
>   XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

--
Paul TERRAY - Ingénieur Systèmes Documentaires
4Dconcept
Centre d'affaires - 22, rue Etienne de Jouy
78353 Jouy en Josas CEDEX
Tel. 01 34 58 70 70 - Fax. 01 39 46 06 90
email : terray@[...].fr 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
Thread:
Paul Terray
Mike Brown
Paul Terray

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved