| Subject: Re: [xsl] Converting XHTML to FO using XHTML2FO.xsl From: "J.Pietschmann" <j3322ptm@xxxxxxxx> Date: Thu, 19 Oct 2006 21:19:04 +0200 | 
What I'm attempting to do is one thing on most <br> tags and another
thing on the last <br> tag under a <li> or <p> tag (I've bolded these in
the example below). My problem is the <br> tag can be n deeply nested
under formatting tags such as <strong>, <em>, etc.
You probably need match="br[ancestor::p or ancestor::li]" and match="br[ancestor::p or ancestor::li][position()=last()]" or so.
The second one might need some parenthesis, can't tell without testing...
| Current Thread | 
|---|
| 
 | 
| <- Previous | Index | Next -> | 
|---|---|---|
| [xsl] Converting XHTML to FO using , Fleetwood, Brett \(D | Thread | Re: [xsl] Converting XHTML to FO us, David Carlisle | 
| [xsl] conditionally outputting with, Stephen Ciscola | Date | Re: [xsl] conditionally outputting , David Carlisle | 
| Month |