Subject: [xsl] Checking on the existence of tail text? From: Petr van Blokland <buro@xxxxxxxx> Date: Sat, 14 Feb 2009 11:32:23 +0100 |
Hi, I have a question about the check on a node tail text. How can de matching template of <h2> see if there is nont-whitespace text between </h1> and <h2>, e.g. the difference between <h1>Abcd</h1> a text here <h2>Xyz</h2> <h1>Abcd</h1><!-- no text here --><h2>Xyz</h2> And the extended question, how van the h2-matching template see the same thing when there is another tag inbetween that get ignored in the output: <h1>Abcd</h1> a text here<ignored/> another text here <h2>Xyz</h2> <h1>Abcd</h1><!-- no text here --><ignored/><!-- no text here -- ><<h2>Xyz</h2> This information is needed to know that white space to generate in output for PDF, where the combination of different heading must generate different amounts of leading. Kind regards, Petr van Blokland buro@xxxxxxxx ______________________________________________________________________ This email has been scanned by the McAfeeB. Email Security System. For more information please visit http://www.mcafee.com ______________________________________________________________________
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] separate white space and , Michael Kay | Thread | Re: [xsl] Checking on the existence, G. Ken Holman |
Re: [xsl] Wrapping content in a CDA, Ken Starks | Date | Re: [xsl] Checking on the existence, G. Ken Holman |
Month |