Re: Marked up data with sectbreaks (was Re: [xsl] XSLT FAQ ideas)

Subject: Re: Marked up data with sectbreaks (was Re: [xsl] XSLT FAQ ideas)
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Tue, 18 Feb 2003 12:51:32 -0500

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.


====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. 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:

Current Thread