| | ### Pops |
| | |
| | -Stack pops (`^`) are necessary to switch context to a previous element. |
| | -Multiple stack pops (`^`) are allowed per line; if a pop would |
| | -otherwise exceed the root context, the context remains at the root. |
| | +Stack pops (`^`) switch context to a previous element. Multiple pops |
| | +per line are permitted; extraneous pops are silently ignored (it is |
| | +not possible to switch context beyond the root level). |
| | |
| | ### Globs |
 |
| | |
| | ``` |
| | -account.id = $id # $ starts a named parameter |
| | -account.id <> $id # inequality parameter comparison |
| | -account.id = {$id, 1} # becomes IN set |
| | -account.id <> {$id, 1} # becomes NOT IN set |
| | -account.id = null # becomes IS NULL |
| | -account.id <> null # becomes IS NOT NULL |
| | -account.id = 'text' # string equality comparison |
| | -account.id = -42 # numeric equality comparison |
| | -account.id < 42 # numeric less than comparison |
| | -account.id > 42 # numeric greater than comparison |
| | -account.id <= 42 # numeric less than or equal to comparison |
| | -account.id >= 42 # numeric greater than or equal to comparison |
| | +account.id = $id # $ starts a named parameter |
| | +account.id <> $id # inequality parameter comparison |
| | +account.id = {$id, 1} # becomes IN set |
| | +account.id <> {$id, 1} # becomes NOT IN set |
| | +account.id = null # becomes IS NULL |
| | +account.id <> null # becomes IS NOT NULL |
| | +account.id = 'text' # string equality comparison |
| | +account.id = -42 # numeric equality comparison |
| | +account.id < 42 # numeric less than comparison |
| | +account.id > 42 # numeric greater than comparison |
| | +account.id <= 42 # numeric less than or equal to comparison |
| | +account.id >= 42 # numeric greater than or equal to comparison |
| | ``` |
| | |
 |
| | ## Namespace |
| | |
| | -``` |
| | -root > people(html, http://www.w3.org/TR/html4/), |
| | -person > html:person, |
| | +Namespace syntax resembles: |
| | |
| | -person.id > people:id( people, http://www.people.com ), |
| | -``` |
| | + root > people(html, http://www.w3.org/TR/html4/), |
| | + person > html:person, |
| | + person.id > people:id( people, http://www.people.com ), |
| | |
| | # Usage |
 |
| | |
| | SELECT rxm( '...mapping...', 'json' ); |
| | + |
| | +A call with variables resembles: |
| | |
| | + SELECT rxm( '...mapping...', 'xml', '' ); |
| | |
| | # Requirements |