[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Re: [xsl] Testing for following text()
Subject: Re: [xsl] Testing for following text() From: Sascha Mantscheff <922492@xxxxxx> Date: Thu, 01 Nov 2007 13:50:40 +0100 |
> well if you want it purely in the template match for <s> then you can do: > > match="s[(ancestor::b[1]//text())[last()] >> .]" > > ...but there's probably a neater solution where you work it out at the > <b> level and then pass down a boolean as a tunnelled parameter. > Thanks a lot for this solution which works like a spell and also taught me the ">>" operator. In the given context I prefer it to Ken's procedural solution, but also thank you for that one.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Processing instruction, J. S. Rawat | Thread | Re: [xsl] Testing for following tex, G. Ken Holman |
RE: [xsl] Accessing External Java L, Carl Bourne | Date | RE: [xsl] Accessing External Java L, Michael Kay |
Month |