Re:JSON Feed
by falcolas on Wednesday May 17, 2017 @03:58PM
(#14362260)
I give you libxml:
There's a good chance it's already installed on your mac.
[ Parent
| on HN ]
Re:JSON Feed
by hyperpallium on Wednesday May 17, 2017 @09:02PM
(#14364122)
To avoid the hassle of handling xml namespaces (e.g. in an Atom feed...), just do:
xmllint --xpath '//*[local-name()="element"]/@attribute'
Note: for consistency, namespaces are not needed for attribute names.http://stackoverflow.com/questions/4402310/how-to-ignore-nam...