@[email protected] to Lemmy [email protected] • 1 month agoEvillemmy.worldmessage-square127fedilinkarrow-up11.12K
arrow-up11.12KimageEvillemmy.world@[email protected] to Lemmy [email protected] • 1 month agomessage-square127fedilink
minus-square@[email protected]linkfedilink1•1 month agoThere are parsing libraries, maybe not as many or as open, but they exist.
minus-squareRadioactive ButtholelinkfedilinkEnglish2•1 month 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
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.