Re: possible to mimic while-like behavior?

Subject: Re: possible to mimic while-like behavior?
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 17 Mar 2000 19:11:22 GMT

 What I want is "the first sibling whose name is HR or P or BLOCKQUOTE or
 H1 or H2 or ... (all XHTML 1.0 block-level elements, i.e. %block; +ins
 +del).

select="following-sibling::*
      [self::x:hr or self::x:p or self::x:blockquote or ......]
      [1]" />

where x: is the xhtml namespace and I used lowercase names as they are
lowercase in xhtml, although you gave them as uppercase in your example.

David


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


Current Thread