xsl-list
[Top] [All Lists]

Re: [xsl] Cannot include namespaces [XSLT 1.0] xsltproc

2010-08-25 05:04:23
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.

/&dagger;/&#x2020;/gi

Perl, may comes to rescue.


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--