Re: [xslt] xsltproc memory consumption w/ large DTD / docbook

> works quite well and gives some speedup. But it also breaks the <olink>
> linking mechanism because you just have the name of an entity in its
> targetdocent attribute which is then resolved using the
> unparsed-entity-uri XPath-function at transformation-time. Do you have an
> idea how to get around this?
write a small script to put all the entity decls in
a file calls "ents.decl". then put this at the start of each file

 <!DOCTYPE whatever [<!ENTITY % DECLS SYSTEM "ents.decl">%DECLS;]>

and then it'll work. won't it?
Sebastian Rahtz      OUCS Information Manager
13 Banbury Road, Oxford OX2 6NN. Phone +44 1865 283431

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]