FasterXML / jackson-dataformat-xml

Extension for Jackson JSON processor that adds support for serializing POJOs as XML (and deserializing from XML) as an alternative to JSON
Apache License 2.0
561 stars 221 forks source link

Add support for @ prefixed attrib. in paths #573

Open JorgeCepeda opened 1 year ago

JorgeCepeda commented 1 year ago

Citing the thread in jackson-future-ideas#66, I'd like to be able to access attributes using @ in a path:

xml = "<a b=\"attrib\"><b>node</b></a>"

and as path: "/a/@b" for the attribute and "/a/b" for the node This feature is not available in the latest version 2.14.2