Re: [xsl] Adding structure to a docment based on attributes

Subject: Re: [xsl] Adding structure to a docment based on attributes
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Mon, 24 Sep 2001 14:07:29 -0400

At 07:49 AM 9/24/01, you wrote:
Adding sections/subjections and levels depending on formatting type

Check out my contribution to the list at and Jeni's improvements at

This is basically a grouping problem. The secret is to think of the problem not as working by "closing the logical structure at the right place", but by correctly identifying which nodes go into which logical structure, and pulling just those nodes in when you create it.

Keys are great for this. Attributes are a bit of a red herring: they make your problem different only in that you will be using them to help identify your key values.

I hope that's enough of a tip --

====================================================================== 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