You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am surprised we do not have a nice good tool to show the path to the match.
I asked chatgpt and it told me to try xq 'path(.. | select(. == "your_search_value"))' file.xml and obviously that did not work since there seems to be no such "advanced" search options in xq.
I wondered if there could be some "search" mode which also would depict the path to the hit or may be you would recommend alternatives?
Thanks in advance.
The text was updated successfully, but these errors were encountered:
Problem Statement
I am surprised we do not have a nice good tool to show the
path
to the match.I asked chatgpt and it told me to try
xq 'path(.. | select(. == "your_search_value"))' file.xml
and obviously that did not work since there seems to be no such "advanced" search options inxq
.I wondered if there could be some "search" mode which also would depict the path to the hit or may be you would recommend alternatives?
Thanks in advance.
The text was updated successfully, but these errors were encountered: