RE: [xsl] Selecting the first sentence of a paragraph

Subject: RE: [xsl] Selecting the first sentence of a paragraph
From: Jarno.Elovirta@xxxxxxxxx
Date: Tue, 28 Oct 2003 09:29:49 +0200
Hi,

> the first paragraph if it starts with "Syntax." I also want 
> to copy the
> first sentence of the next paragraph (or the first sentence 
> of the first
> paragraph if there's no "Syntax" definition).

  <xsl:apply-templates select="p[not(starts-with(., 'Syntax'))][1]" mode="firstsentence"/>

Cheers,

Jarno


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread