xsl-list
[Top] [All Lists]

Re: [xsl] combining multiple documents

2008-01-26 17:19:01
Steven Ericsson-Zenith wrote:

  Hi

I am mystified why this works and a simple key reference does
not since surely "/" simply specifies the global processing
scope in any case.

  I don't know what you mean by "the global processing scope"
but "/" is defined as following by [XPath 2.0] "3.2 Path
Expressions" http://www.w3.org/TR/xpath20/#id-path-expressions:

    A "/" at the beginning of a path expression is an
    abbreviation for the initial step fn:root(self::node()) treat
    as document-node()/

  Stated informally, that means the document node that the
current item belongs to.

  Regards,

--drkm

























      
_____________________________________________________________________________ 
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail 
http://mail.yahoo.fr


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