This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Re: Customizing DocBook to Produce a real URL Tree
- From: Ian Castle <ian dot castle at coldcomfortfarm dot net>
- To: Shlomi Fish <shlomif at vipe dot stud dot technion dot ac dot il>
- Cc: DocBook Apps <docbook-apps at lists dot oasis-open dot org>
- Date: Wed, 27 Nov 2002 06:39:17 +0000
- Subject: Re: DOCBOOK-APPS: Re: Customizing DocBook to Produce a real URL Tree
- References: <Pine.LNX.4.33L2.0211270646400.27753-100000@vipe.technion.ac.il>
On Wednesday 27 Nov 2002 4:47 am, Shlomi Fish wrote:
>
> Would it be possible to scan the XML beforehand (say with a Perl script)
> and make the directory structure for jade, a priori?
Yep. Anything is possible! You could also process it with DSSSL - rather than
having the stylesheet emit HTML, it could emit a series of
"mkdir -p <id>/<id>...."
"openjade -t fot" produces a tree of the "flow objects" in XML format - i.e.
the things that actually need to be rendered. I suppose it is a bit like
"fop". "fot" is really openjade's internal representation of the processed
data - the HTML/TeX/RTF or whatever backends are really turning the Flow
Object Tree (FOT) into some other format.
Anyway, the FOT might be a better/easier thing to process to get the ids in
the correct order etc. for creating directories.
In a sense whether you choose to do it with XSL or DSSSL is immaterial. Either
way would require some work. The neatest solutions require more work!
>
> Regards,
>
> Shlomi Fish
>
Ian.