Subject: Re: [xsl] Cannot include namespaces [XSLT 1.0] xsltproc From: pankaj.c@xxxxxxxxxxxxxxxxxx Date: Wed, 25 Aug 2010 15:33:56 +0530 |
>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.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Cannot include namespaces, Michael Kay | Thread | [xsl] Parameter of type xs:anyURI, Martynas Jusevicius |
Re: [xsl] Cannot include namespaces, Michael Kay | Date | [xsl] browser status on id/xml:id (, Hermann Stamm-Wilbra |
Month |