[xsl] Building a Manual with XML/XSL

Subject: [xsl] Building a Manual with XML/XSL
From: Iván Montoro Ten <ivanm@xxxxxxxxxxx>
Date: Sat, 6 Sep 2003 21:02:57 +0200
Hi everybody,

This is my very first post to the list, so please forgive me if
I'm writing to the wrong place (and also forgive my poor english!)

I'm building several manuals with XML for a product we make. I've
seen several frameworks for it, but I'm looking for something 
easier, as a bare XML file and a XSL HTML transform (maybe later
I'll get PDF, but that's too much for me right now!)

So, in the following scenario:
  <chapter title="Begining with...">
    <sub1 title="To start...">
      <para>text text text</para>
      <sub2 title="What you need">
        <para>text text text</para>
      <sub2 title="Doing it well">
        <para>text text text</para>
        <sub3 title="Don't forget...">
          <para>text text text</para>
        <para>text text text</para>
I've the basic skeleton for my document. I want XSL to transform
this in a basic <P></P>, <H1></H1>, <H2></H2> structure, but
I don't know how to iterate the subelements linearly, rather I
know how to xsl:for-each them. Is there any solution for this?


Ivan Montoro 

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

Current Thread