xsl-list
[Top] [All Lists]

Re: [xsl] Referring to stylesheet itself, possible in XSLT 1.0, but how in XSLT 2.0?

2006-10-17 03:29:46

With xml:base on the root matching matching template, why does calling
document('') return that base (the same goes for xsl:stylesheet).  I
would've thought the root *node* returned from document('') was
outside the scope of the xml:base change,

if a node is returned it is outside the scope of xml:base but which
node is returned depends on xml:base, '' is a relative uri so it is
resolved against the current base uri to get the absolute URi of the
document to be located. the resolution of '' is in teh scope of xml:base
here.

David

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