xsl-list
[Top] [All Lists]

RE: Shallow copy and base URI

2006-01-27 09:10:54
Michael Kay wrote:

Item 10 in 5.7.1 makes clear that the same thing applies
when it's attached to a document node.

  Yes, thanks for pointing this out.

  About the way I use to have the same base URI in the temporary tree
than in the source tree (of the identity copy), does this seem to be
the right way?

    <xsl:variable name="tmp.tree">
      <tree>
        <xsl:attribute name="xml:base" select="base-uri()"/>
        <xsl:apply-templates mode="the.mode"/>
      </tree>
    </xsl:variable>

  Actually, I guess using a function as a launcher for the identity
copy could be better, because I could use @select and avoid create a
document node.

  Thanks, regards,

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



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