xsl-list
[Top] [All Lists]

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

2011-12-05 07:13:44
On 5 December 2011 12:57, Imsieke, Gerrit, le-tex
<gerrit(_dot_)imsieke(_at_)le-tex(_dot_)de> 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

--~------------------------------------------------------------------
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>
--~--

<Prev in Thread] Current Thread [Next in Thread>