xsl-list
[Top] [All Lists]

RE: Shallow copy and base URI

2006-01-27 09:17:53

  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.

Michael Kay
http://www.saxonica.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>