>So you need to bite the bullet: as a consequence of this DTD, the
>chapter element is in the namespace
>http://www.elsevier.com/xml/common/dtd, and your stylesheet therefore
>needs to match it exactly as if it were written <chapter
>xmlns="http://www.elsevier.com/xml/common/dtd"> in the source document.
And I need to add some other namespaces. :-((
>To get the external entities you need to read the DTD, and if you read
>the DTD, the default attributes/namespaces will apply.
Or other way around (dirty) is to replace all named entities to
corresponding hexadecimal before transforming.
/†/†/gi
Perl, may comes to rescue.
|