Subject: Re: [xsl] position last and attributes From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Thu, 20 Sep 2012 09:21:56 -0400 |
> I saw a lot of comments talking about "[1]" and "[last()]" talking about
> attributes, and I think that is the problem regarding the discussion: The
> predicate "[1]" and "[last()]" is *not* based on the markup (attributes),
> but rather is based on the order of nodes in the XPath data model (attribute
> nodes).
it's based on the dynamic context, which, changes eg:
(@foo)[last()]
(@foo, @bar)[last()]
nothing special about attributes...
-- Contact us for world-wide XML consulting and instructor-led training Free 5-hour lecture: http://www.CraneSoftwrights.com/links/udemy.htm Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Google+ profile: https://plus.google.com/116832879756988317389/about Legal business disclaimers: http://www.CraneSoftwrights.com/legal
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] position last and attribu, Andrew Welch | Thread | Re: [xsl] position last and attribu, John P. McCaskey |
Re: [xsl] position last and attribu, Ihe Onwuka | Date | Re: [xsl] position last and attribu, John English |
Month |