Positional Element Addressing
The element
scheme introduces positional addressing of child elements. This is similar to a simple XPath address, but subsequent steps can only be numbers representing the position of a descendant relative to its branch on the tree.
For instance, given the following fragment:
results as the following examples:
xpointer(id("foo")) => foobar xpointer(/foobar/1) => bar xpointer(//bom) => bom (a=1), bom (a=2) element(/1/2/1) => bom (a=1) (/1 descend into first element (foobar), /2 descend into second child element (baz), /1 select first child element (bom))Read more about this topic: XPointer
Famous quotes containing the words element and/or addressing:
“In our day the conventional element in literature is elaborately disguised by a law of copyright pretending that every work of art is an invention distinctive enough to be patented.”
—Northrop Frye (b. 1912)
“He took up his pen, which seemed to parch like a martyr in his hand. He began to write, nevertheless, addressing the nine-and-ninety lies of the moment he hoped with for a night of saloperie at the side of the twisted strumpet, Fiction, who lasciviously rolled her eyes at him, hiked up her skirt, and beckoned him on.”
—Alexander Theroux (b. 1940)