xsl-list
[Top] [All Lists]

Re: exclude-result-prefixes not removing the xmlns attribute in the root element

2006-01-03 04:59:41
Juergen Donnerstag wrote:

i thought this is what exclude-result-prefixes is about,
but it does do what I thought it does.

  From the XSLT 1.0 REC:

    NOTE: When a stylesheet uses a namespace declaration
    only for the purposes of addressing the source tree,
    specifying the prefix in the exclude-result-prefixes
    attribute will avoid superfluous namespace declarations
    in the result tree.

  But if still have node from this namespace in your result tree, you
indeed need the namespace declaration.

--drkm



















        

        
                
___________________________________________________________________________ 
Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs 
exceptionnels pour appeler la France et l'international.
Téléchargez sur http://fr.messenger.yahoo.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>
--~--