xml2
Installation
SKILL.md
xml2 / 2xml
Convert XML to a flat, line-oriented format for shell pipeline processing, and
reconstruct XML with 2xml.
Prerequisite Check
Run this before proposing flat XML workflows:
command -v xml2 >/dev/null 2>&1 && command -v 2xml >/dev/null 2>&1
If xml2 or 2xml is missing, surface that first and either run scripts/install.sh or scripts/install.ps1, or fall back to xmllint or xq when the task can stay XML-aware instead of line-oriented.