vinyl@lemmy.world to Lemmy Shitpost@lemmy.world · 5 days agoEvillemmy.worldimagemessage-square117fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1imageEvillemmy.worldvinyl@lemmy.world to Lemmy Shitpost@lemmy.world · 5 days agomessage-square117fedilink
minus-squareryathal@sh.itjust.workslinkfedilinkarrow-up0·4 days agoThere are parsing libraries, maybe not as many or as open, but they exist.
minus-squareRadioactive Butthole@reddthat.comlinkfedilinkEnglisharrow-up0·4 days agoThat’s kind of my point though. For being made specifically for the purpose of being machine readable, its kind of a pain in the ass to work with. I want a command line utility where I can just xmlquery --query 'some/query' --file foo.xml --output foo-out.xml or in python import xml with open("foo.xml", "r") as file: data = xml.load(file.read()) That’s the amount of effort I want to put into parsing a data storage format.
There are parsing libraries, maybe not as many or as open, but they exist.
That’s kind of my point though. For being made specifically for the purpose of being machine readable, its kind of a pain in the ass to work with.
I want a command line utility where I can just
or in python
import xml with open("foo.xml", "r") as file: data = xml.load(file.read())
That’s the amount of effort I want to put into parsing a data storage format.