[xml/sgml] Re: Bug#382505: fo output does not respect /etc/papersize

Daniel Leidert daniel.leidert.spam at gmx.net
Wed Aug 16 13:50:55 UTC 2006


Am Mittwoch, den 16.08.2006, 08:19 +0000 schrieb W. Borgert:
> On Wed, Aug 16, 2006 at 03:39:57AM +0200, Daniel Leidert wrote:
> > Any ideas or opinions?
> 
> I would suggest to write an update-papersize.xml script (in pure
> /bin/sh to avoid additional dependencies), that generates a file
> /etc/papersize.xml from /etc/papersize and could be automatically
> called when dpkg-reconfiguring libpaper1. The content could be:
> 
> <?xml version='1.0' encoding='utf-8'?>
> <!-- automatically generated by ... do not edit -->
> <papersize>
>   <papername>a4</papername>
> </papersize>
> 
> That would allow for additional (e.g. height and width) information,
> if the need arises in the future. On the XSLT side this file has
> still to be parsed and some papernames have to be mapped (letter vs.
> USletter).

Seems, both saxon 6.5.5 and xalan 2.6.0 can handle my stylesheet code
with the xi:include part. They read in the file content. Only xsltproc
seems to ignore the xi_include element. I'm currently discussing this on
the xslt mailing list. Then I will probably decide.

Regards, Daniel




More information about the Debian-xml-sgml-devel mailing list