[Home] [By Thread] [By Date] [Recent Entries]
Jim,
If I understand you correctly, try <xsl:when test="following::*[self::p|self::line][1]/child::node()[1][self::verse]"> This picks up the following element nodes, throws away all but the p and line elements, takes the first of those, and selects its first node child if it's a verse. ? The "|" may appear to be an "or" but it's really a union operator. The expression "following::*[self::p or self::line]" would do as well. Or you could do "(following::p|following::line)[1]/node()[1][self::verse]". This groups the following p and line elements, takes the first, and picks the first child if it's a verse. Cheers, Wendell At 11:25 AM 11/15/2002, you wrote: I have made some progress but still need some more help. ====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ====================================================================== XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|

Cart



