Use oq instead of xmltodict #90
Labels
No Label
bug
duplicate
enhancement
external cause:politics
external cause:upstream bug
feed
help wanted
invalid
question
wontfix
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: lucidiot/itsb#90
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
oq
is a wrapper aroundjq
similar toyq
. It adds supports for YAML and XML inputs and outputs and seems to provide all the features ITSB needs to replacexmltodict
and possibly make the parsing steps faster. Some benchmarking could be interesting.https://blacksmoke16.github.io/oq/index.html
As a side note, this made me discover that xmltodict and oq both parse JSON using this random article: https://www.xml.com/pub/a/2006/05/31/converting-between-xml-and-json.html
Waiting on https://github.com/Blacksmoke16/oq/issues/103
Another tool to experiment with: Xidel, which provides XQuery/JSONiq instead of jq scripts. This sounds simpler and more powerful than jq, since Xidel can run processes and make HTTP requests, and includes date parsing, URL parsing, and more wheels that I usually get to reinvent in jq. This could replace
pup
,jq
,xmltodict
,curl
, and resolve #73.I found this while looking at XProc, which probably could be yet another version of ITSB's generator, except that it seems every implementation requires Java or some proprietary software.