wrap ternary operators in parens
Probably don't need that stuff
code for extracting nodes
changed x option to xall - extracts all children of specified node (but not node itself)
Add full path option to --format=...