[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Elegant way to create an empty line


Subject: Re: [xsl] Elegant way to create an empty line
From: "Stuart A. Yeates" <syeates@xxxxxxxxx>
Date: Fri, 10 Jul 2009 09:05:28 +1200

On Mon, Jul 6, 2009 at 1:11 AM, COUTHURES
Alain<alain.couthures@xxxxxxxxxxxxx> wrote:
> Hi Jan,
>
> Don't you need a specific template with match="p[not(node())]" priority="1"

I would have used:

match="p[normalize-space(.)] " priority="1"

which I believe also catches <p></p>

cheers
stuart


Current Thread