docs: add XML file usage examples to usage, man page, and README#152
Merged
Conversation
Add --xml-root / --xml-row flag examples in all three documentation locations so users can discover XML input support for nested documents like RSS feeds: - src/args.zig (--help): add XML example with --xml-root / --xml-row - docs/sql-pipe.1.scd: add two XML EXAMPLES entries (nested input with --xml-root/--xml-row, custom output element names) - README.md: expand XML section with RSS-style nested-input example Closes #144
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
--xml-root/--xml-rowXML input examples to all three documentation locations so users can discover the feature for nested documents like RSS feedsChanges
src/args.zig(--helptext): addscat data.xml | sql-pipe -I xml --xml-root channel --xml-row item "SELECT title FROM t"to the Examples sectiondocs/sql-pipe.1.scd(man page): two new EXAMPLES entries — nested XML input with--xml-root/--xml-row(RSS-style), and CSV-to-XML output with custom element namesREADME.md: expands the XML section with a practical RSS-feed example showing when and how to use--xml-rootand--xml-rowCloses #144