[Home] [By Thread] [By Date] [Recent Entries]
At 04:32 AM 3/24/2009, Mike wrote:
match="entry[. is ancestor::table[1]/descendant::entry[1]]/*[self::title|self::para][1]" This will match the first title or para child of a first entry descendant of a table, but if you have <entry> <label/> <title/> <para/> </entry> the title will be matched. I think the spec needs a bit of clarification. :-) In this case, should either or both the title and para match? BTW, my first try missed the [1] on ancestor::table[1]. (I guess I decided to assume no nested tables.) Cheers, Wendell ====================================================================== 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 ======================================================================
|

Cart



