# A generic ’XPath’ suitable for YAML?

**URL:** <https://discourse.julialang.org/t/a-generic-xpath-suitable-for-yaml/57109>\
**Category:** General Usage\
**Created:** [March 14, 2021, 3:05am UTC](https://discourse.julialang.org/t/a-generic-xpath-suitable-for-yaml/57109 "2021-03-14T03:05:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![StatisticalMouse](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/statisticalmouse/32/43370_2.png) [@StatisticalMouse](https://discourse.julialang.org/u/StatisticalMouse)\
**Post date:** [March 14, 2021, 3:05am UTC](https://discourse.julialang.org/t/a-generic-xpath-suitable-for-yaml/57109/1 "2021-03-14T03:05:23Z")

</div>

\_\_\_\_ is toYAML as XPath is to XML?

It sort of feels like this functionality is pretty generic, and I’m wondering if some package might help.

---

<div class="post-metadata">

**Author:** ![StatisticalMouse](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/statisticalmouse/32/43370_2.png) [@StatisticalMouse](https://discourse.julialang.org/u/StatisticalMouse)\
**Post date:** [March 14, 2021, 3:06am UTC](https://discourse.julialang.org/t/a-generic-xpath-suitable-for-yaml/57109/2 "2021-03-14T03:06:53Z")

</div>

[https://www.w3schools.com/xml/xpath\_syntax.asp](https://www.w3schools.com/xml/xpath_syntax.asp)
