ERH,
At 09:47 AM 2/18/2003, you wrote:
The problem gets more complicated (much more) if your breaks are not all
at the same level.
Yes, I can see that. Fortunately, mine are at the same level. I wonder if
multi-level breaking could be handled just by using the following axis
instead of following-sibling?
Take a look at the thread on "extracting a verse" from last December.
This is an example of a classic "up-translation" (because you're taking
information that is only implicit in the markup structures, and making it
explicit). XSLT excels at down-translations. New constructs to support
grouping, more versatile string-processing, capabilities to match more
freely (matching on ranges or substrings remains an intriguing concept),
all will help with going uphill. But it still may be a bit unnatural for
the processing model. The getting-your-parsing-for-free aspect of XSLT is
less useful when the information isn't visible to an XML parse.
Cheers,
Wendell
======================================================================
Wendell Piez
mailto:wapiez(_at_)mulberrytech(_dot_)com
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