Re: to do list.

Dave Pawson <[email protected]> Thu, 15 Jan 2004 12:52:22 +0000
Newsgroups gmane.text.docbook.docbook2x.general
Message-ID <[email protected]>
At 22:16 14/01/2004, Steve Cheng wrote:
> > Setting aside the character issue for the time being,
> > is it a question of generating unique node-names that stands
> > as the prime blocker?
>
>Besides that the solution currently is still not pure XSLT.
>A perl filter is required afterwards to handle whitespace issues and to
>beautify the output.

<xsl:strip-space elements="*"/>

Does the perl do line breaking at 70 chars etc?
  Is that what you mean by beautify?
http://www.dpawson.co.uk/xsl/sect2/N7240.html#d1279e244
  shows an xslt solution

>But a two-stage XSLT solution would work, and shouldn't be hard to
>implement,
>if we relax the beautifying restriction. I think I posted such a solution on
>this list
>before.

Sorry Steve, I hven't been to the archives.



> >
> > What are the requirements on node names please?
> > String, unique, human readable?
>
>All of them, and certain characters are not allowed in node names.
>(Being XML people we all see this as being stupid, but there's nothing we
>can do about it.)

Which brings up xslt 2.0 again? The charmap?
Or is it something a translate() could do?


>Essentially they are names for different sections of a Texinfo manual, and
>they are displayed in
>every info reader, and they are used for following cross-references in the
>info reader.
>
>For details read the Texinfo Texinfo manual. The relevant section is:
>
>"The @node command"
>http://www.gnu.org/software/texinfo/manual/texinfo/html_node/node.html#node

Thanks. I'll have a look at that.

>Of course if we are willing to assume that the source document author was
>"nice" enough
>to manually map node names for us, we don't need extensions at all.
>docbook2X currently does indeed allow this mode of operation, but it just
>isn't documented
>very well. :)


Tks. DaveP 




-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html