Slightly improve text in path spec
This commit is contained in:
parent
f6032d899f
commit
89b96f623d
|
@ -6,8 +6,12 @@ title: "Preserves Path"
|
|||
Tony Garnock-Jones <tonyg@leastfixedpoint.com>
|
||||
August 2021. Version 0.1.0.
|
||||
|
||||
XML documents can move into attributes, into text, or into children.
|
||||
Preserves Path is roughly analogous to
|
||||
[XPath](https://www.w3.org/TR/2017/REC-xpath-31-20170321/), but for Preserves values: just as
|
||||
XPath selects portions of an XML document, a Preserves Path uses *path expressions* to select
|
||||
portions of a `Value`.
|
||||
|
||||
XPaths on XML documents can move into attributes, into text, or into children.
|
||||
Preserves documents don't have attributes, but they do have children
|
||||
generally and keyed children in particular. You might want to move
|
||||
into the child with a particular key (number, for sequences, or
|
||||
|
|
Loading…
Reference in New Issue