-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
Allow simpla-paths to traverse up/down the tree in attributes, using dot notation inside SIDs/GIDs. Fixes the use-case where markup structure doesn't perfectly match content structure, especially with shared code and complex content models
-
foo.barto traverse down a tree -
..bazto traverse up a tree (additional dot for each level up) -
Can combine patterns, eg:
..baz.qux -
Can traverse in both SIDs and GIDs (obvs GIDs can only traverse down, useful for removing unecssary nesting)
-
If the key accessed with traversing doesn’t exist, it is created as per usual
Reactions are currently unavailable