RE: "Axis Steps" and "Location Steps"

> Can someone explain to me the rationale of replacing the term 
> "Location Step" 
> (XPath 1.0 Chapter 2.1) with the term "Axis Step" (XPath 2.0 
> WD Chapter 
> 2.3.1) please?
> 
In XPath 1.0, all steps in a path expression used axes to navigate from one
node to other nodes. In XPath 2.0, steps have been generalised so they can
use any expression.

So in an XPath 1.0 location path, only one kind of step was allowed, and it
was reasonable to call it a location step. In XPath 2.0, two kinds of step
are allowed, an axis step or a general step.

Mike Kay

Received on Friday, 11 January 2002 18:57:44 UTC