vinyl@lemmy.world to Lemmy Shitpost@lemmy.world · 3 days agoEvillemmy.worldimagemessage-square127fedilinkarrow-up11.11Karrow-down17
arrow-up11.1Karrow-down1imageEvillemmy.worldvinyl@lemmy.world to Lemmy Shitpost@lemmy.world · 3 days agomessage-square127fedilink
minus-squareRadioactive Butthole@reddthat.comlinkfedilinkEnglisharrow-up2·2 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.
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.