xq
xq copied to clipboard
Command-line XML and HTML beautifier and content extractor
svg file ```xml ``` xq cannot handle nested g elements and when "xmlns:svg" exists, causing "" to become "
**Problem Statement** Command-line arguments can be creatively malformed by new users (me!) and provide unhelpful error messages sometimes. I was exploring the concat feature and happened to trigger this crash....
**Problem Statement** Would it be possible to release Windows binary too? If there is one available, then I'm willing to submit package `sibprogrammer.xq` to https://github.com/microsoft/winget-pkgs I think it would be...
### Problem Statement The utility fails on the attempt to render XML version 1.1. ### Steps to Reproduce `xq xml-file.xml` Where xml-file.xml contains the following content: ``` 17 18 org.jenkinsci.plugins.pipeline.modeldefinition.steps.ScriptStep...
**Problem Statement** Sometimes I need to modify an xml file from the script. I could use `sed` but IMO it is error prone as it does not understand xml structure....
**Problem Statement** When sending multiple documents to the command line, the documents are not separated with line feeds. In fact, line-feeds between documents are removed. One use case when working...
**Problem Statement** Xquery Sets are unsupported. **Steps to Reproduce** Given this input: ``` abc def ghi jkl ``` This query should be valid: `bunch/foo[(bar)=("abc","ghi”)]` **Actual Result** ``` panic: bunch/foo[(bar)=("abc","ghi")] has...
This adds a `-j/--json` flag.
## Summary XML element order is now preserved when converting to JSON. Previously, keys were alphabetically sorted due to Go's map iteration order. ## Problem XML element order is semantically...
## Summary Empty XML elements now output as `null` in JSON instead of empty objects `{}`. This makes the JSON formatter consistent with the XML formatter's treatment of empty elements....