|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: inserting verseEnd milestone
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








