This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: possible to mimic while-like behavior?




 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]