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

Subject: Re: [xsl] exclude-result-prefixes="#all"
From: "Imsieke, Gerrit, le-tex" <gerrit.imsieke@xxxxxxxxx>
Date: Mon, 05 Dec 2011 13:57:56 +0100
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).



On 2011-12-05 13:39, Andrew Welch wrote:
Hi all,

Does anyone have a reason why:

exclude-result-prefixes="#all"

shouldn't be considered boilerplate?


thanks



-- Gerrit Imsieke Geschdftsf|hrer / Managing Director le-tex publishing services GmbH Weissenfelser Str. 84, 04229 Leipzig, Germany Phone +49 341 355356 110, Fax +49 341 355356 510 gerrit.imsieke@xxxxxxxxx, http://www.le-tex.de

Registergericht / Commercial Register: Amtsgericht Leipzig
Registernummer / Registration Number: HRB 24930

Geschdftsf|hrer: Gerrit Imsieke, Svea Jelonek,
Thomas Schmidt, Dr. Reinhard Vvckler

Current Thread