On Wed, May 27, 2015 at 6:04 AM, Lennart Poettering
<lenn...@poettering.net> wrote:
> Hmm, any chance we can somehow define those entities without having to
> add
>  <!ENTITY % entities SYSTEM "custom-entities.ent" >
>  %entities;
>  ]>
> To each file? Can't we tell xsltproc about this via some command line
> switch or so?

I don't think that's possible, in part I believe because XML wants the
documents to be completely described by their doctype and having
external "magic" includes would break that promise.

In particular, two man pages were using this exact same snippet before
my patch: systemd.generator.xml and systemd.unit.xml (though the
latter didn't seem to use any of the named entities at that point...)

systemd-devel mailing list

Reply via email to