Re: [xsl] template match question

Subject: Re: [xsl] template match question
From: Piet van Oostrum <piet@xxxxxxxxxxxxxx>
Date: Fri, 10 Dec 2010 23:28:05 -0400
G. Ken Holman wrote:

> If I've understood you correctly, this is what you need:
 > 
 >    <xsl:template match="block[string-length(.)=1]">
 > 
 > The block is matched if its string length is one character.
 > 
But beware of possible white space surrounding the <inline>
elements. These will also be counted unless disabled with
xsl:strip-space.
-- 
Piet van Oostrum
Cochabamba. URL: http://pietvanoostrum.com/
Nu Fair Trade woonartikelen op http://www.zylja.com

Current Thread