nauseafecal
New Member
I am trying to select values from an XML by \[code\]XPath\[/code\]. I wonder why\[code\]xmlstarlet sel -t -m //data -v "." /tmp/test.xml\[/code\] does work and \[code\]xmlstarlet sel -t -m //data /tmp/test.xml\[/code\] does not.I know that option \[code\]-v\[/code\] means view. However \[code\]xmlstarlet sel -t -m //data -v /tmp/test.xml\[/code\] is getting stuck.So, my question is how to use option view properly.