xsl-list
[Top] [All Lists]

RE: Shallow copy and base URI

2006-01-27 09:35:05
Michael Kay wrote:

  Hi

  I'm affraid I'm not sure what excatly you mean by "to stray into code
that's not often visited".

  Sorry for my so poor English :-(

  Regards,

--drkm


  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>

Yes, I think this works. You may be straying into code
that's not often visited, however.



        

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