This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: unwanted MULTIPLE namespaces
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] unwanted MULTIPLE namespaces
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Mon, 1 Oct 2001 23:14:04 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
> This email is to be read subject to the disclaimer below.
Please tell your lawyers that I do not accept the terms of the disclaimer.
> I have an XSLT which refers to three namespaces, but I don't
> want to have
> any namespace declarations in the source document (since it is getting
> validated against a DTD). I can get rid of the first namespace using:
> exclude-result-prefixes="biology"
> If I repeat that with the other two namespaces I get an
> error, "Duplicate
> attribute".
> How do I get rid of the other two namespaces?
>
The value of exclude-result-prefixes is a whitespace-separated list of
namespace prefixes, e.g. exclude-result-prefixes="biology chemistry physics"
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list