RE: [xsl] Creating a container?

Subject: RE: [xsl] Creating a container?
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Mon, 26 Nov 2001 22:22:42 -0000
> I know my life would be easier if I had container elements around
> each chapter's content...

Creating an explicit hierarchy from a flat structure is one of the harder
jobs to do in XSLT - it's essentially a parsing problem. It can be done, but
it's not easy.

My instinct, especially if you're new to XSLT, would be to tackle this one
as a SAX filter written in Java. You can either use this for a one-off
transformation, or you can use this as an input filter in front of your XSLT
Stylesheet.

Mike Kay


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread