Re: [xsl] Building a Manual with XML/XSL

Subject: Re: [xsl] Building a Manual with XML/XSL
From: S Woodside <sbwoodside@xxxxxxxxx>
Date: Sun, 7 Sep 2003 13:26:21 -0400
Use DocBook. It's used for manuals by everyone, and comes with very comprehensive and customizable XSLT to a bunch of formats.

simon

On Saturday, September 6, 2003, at 03:02 PM, Iván Montoro Ten wrote:

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:
------------------------------------------------------------
<manual>
  <chapter title="Begining with...">
    <sub1 title="To start...">
      <para>text text text</para>
      <sub2 title="What you need">
        <para>text text text</para>
      </sub2>
      <sub2 title="Doing it well">
        <para>text text text</para>
        <sub3 title="Don't forget...">
          <para>text text text</para>
        </sub3>
        <para>text text text</para>
      </sub2>
    </sub1>
  </chapter>
</manual>
------------------------------------------------------------
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?

Thanks!

Ivan Montoro

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



-- anti-spam: do not post this address publicly www.simonwoodside.com -- 99% Devil, 1% Angel


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



Current Thread