Xml parse

From bidewio/better-openclaw · View interactive version

Xml parse is an AI agent skill from the GitHub repository bidewio/better-openclaw. Parse and transform XML/HTML documents using command-line tools in the shared volume at {{SHARED_VOLUME}}.

How to use this skill

Skill file

XML Parse

Process XML and HTML files from the shared volume at {{SHARED_VOLUME}}.

Parse XML

# Extract elements with xmlstarlet
xmlstarlet sel -t -v "//item/title" {{SHARED_VOLUME}}/input/feed.xml

# Transform XML to CSV
xmlstarlet sel -t -m "//record" -v "name" -o "," -v "value" -n {{SHARED_VOLUME}}/input/data.xml > {{SHARED_VOLUME}}/output/data.csv

Tips for AI Agents

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.