This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: line breaks not reproduced in literallayout when usesaxon textinsert extension
- From: Norman Walsh <ndw at nwalsh dot com>
- To: matthew at biolateral dot com dot au
- Cc: docbook-apps at lists dot oasis-open dot org
- Date: Mon, 06 May 2002 11:03:35 -1000
- Subject: DOCBOOK-APPS: Re: line breaks not reproduced in literallayout when usesaxon textinsert extension
- References: <3CC433F5.326A1AA2@bigpond.com>
/ Matthew Hobbs <mhobbs_of_lawson@bigpond.com> was heard to say:
| I want to include the contents of an external text file within my
| DocBook XML document without making the font monospaced, and retaining
| all linebreaks and whitespace within the file. I've been trying this
| using saxon 6.5 (with textinsert extension) and the 1.49 XSL stylesheets
| to insert into a literallayout element.
|
| If I have a line like this in my document
|
| <literallayout><inlinegraphic format="linespecific"
| fileref="test.txt"/></literallayout>
|
| saxon inserts the file contents without changing font (good!) but loses
| linebreaks (bad!) i.e. if the contents of "test.txt" is
Fixed.
Be seeing you,
norm
--
Norman Walsh <ndw@nwalsh.com> | The great man is he who has not
http://www.oasis-open.org/docbook/ | lost the heart of a child.--Mencius
Chair, DocBook Technical Committee |