[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Creating a container?

Subject: Re: Creating a container?
From: "cutlass" <cutlass@xxxxxxxxxxx>
Date: Tue, 27 Nov 2001 09:44:26 -0000
hillebrand container
use docbook

cheers, jim fuller


----- Original Message -----
From: "Michael Müller-Hillebrand" <info@xxxxxxxxxxxxx>
To: "XSL-List" <XSL-List@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Monday, November 26, 2001 8:30 PM
Subject:  Creating a container?


> Hello,
>
> I am fairly new to XSL but have a special task to do. I'd like to ask
> all experts on the list for some starting advice, because currently I
> am blind in which direction to go (in parallel I am reading Michael
> Kay's book as well as some tutorials).
>
> I have some very low level XML documents, which can be seen as just a
> sequence of elements with almost no hierarchy or container elements.
>
> <chaptertitle>ABC</chaptertitle>
> <para>...</para>
> <note>...</note>
> <para><img src=... /></para>
> <heading1>...</heading1>
> <para>...</para>
> <note>...</note>
> <para>...</para>
> <para>...</para>
> ...
> <chaptertitle>DEF</chaptertitle>
> <para>...</para>
> ...
>
> I know my life would be easier if I had container elements around
> each chapter's content, because finally I want to write each chapter
> into a separate file:
>
> <chapter title="ABC">
>    <para>...</para>
>    ...
> </chapter>
> <chapter title="DEF">
>    ...
>
> My question is about which way to go:
>
> * Trying to create a XSL stylesheet that operates on a sequence of
> elements ("all elements after <chaptertitle> until the next") -- if
> that is possible at all?
>
> Or
>
> * Trying to enhance the XML source with above mentioned container
> elements (using which tool?) before applying a XSL stylesheet?
>
> Thanks you for any hints that help accelerate my learning [X?]path.
>
> - Michael
>
> --
> cap studio
> Redaktion "Schallplattenmann"  http://schallplattenmann.de
> Gabelsbergerstr. 17            phone: +49-9131-28747
> 91052 Erlangen, GERMANY        fax:   +49-9131-28717
> ----------- computer assisted publishing -----------
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>


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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.