Re: [xsl] exclude-result-prefixes="#all"

Subject: Re: [xsl] exclude-result-prefixes="#all"
From: Andrew Welch <andrew.j.welch@xxxxxxxxx>
Date: Mon, 5 Dec 2011 13:13:35 +0000
On 5 December 2011 12:57, Imsieke, Gerrit, le-tex
<gerrit.imsieke@xxxxxxxxx> wrote:
> Because there might be an element
> <doc xmlns:foo="...">
> far up the hierarchy.
> xmlns:foo="..." will be suppressed there by exclude-result-prefixes="#all".
>
> Keeping xmlns:foo up there prevents the declaration to occur repeatedly at
> any descendant
> <foo:p> (which will otherwise be <foo:p xmlns:foo="...">, and this will
> really make your document verbose).

I know what you mean... but that is a fairly specific case.

Having said that, it happened to me recently and I did look for
something like ="#all except abc", which isnt possible.

Any others?

@David - thanks for the 'yes'...   :)



-- 
Andrew Welch
http://andrewjwelch.com

Current Thread