← All skills
Tencent SkillHub · AI

XML

Parse, generate, and transform XML with correct namespace handling and encoding.

skill openclawclawhub Free
0 Downloads
0 Stars
0 Installs
0 Score
High Signal

Parse, generate, and transform XML with correct namespace handling and encoding.

⬇ 0 downloads ★ 0 stars Unverified but indexed

Install for OpenClaw

Quick setup
  1. Download the package from Yavira.
  2. Extract the archive and review SKILL.md first.
  3. Import or place the package into your OpenClaw setup.

Requirements

Target platform
OpenClaw
Install method
Manual import
Extraction
Extract archive
Prerequisites
OpenClaw
Primary doc
SKILL.md

Package facts

Download mode
Yavira redirect
Package format
ZIP package
Source platform
Tencent SkillHub
What's included
SKILL.md

Validation

  • Use the Yavira download entry.
  • Review SKILL.md after the package is downloaded.
  • Confirm the extracted package contains the expected setup assets.

Install with your agent

Agent handoff

Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.

  1. Download the package from Yavira.
  2. Extract it into a folder your agent can access.
  3. Paste one of the prompts below and point your agent at the extracted folder.
New install

I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.

Upgrade existing

I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.

Trust & source

Release facts

Source
Tencent SkillHub
Verification
Indexed source record
Version
1.0.0

Documentation

ClawHub primary doc Primary doc: SKILL.md 7 sections Open source page

Namespaces

XPath /root/child fails if document has default namespace—use //*[local-name()='child'] or register prefix Default namespace (xmlns="...") applies to elements, not attributes—attributes need explicit prefix Namespace prefix is arbitrary—<foo:element> and <bar:element> are identical if both prefixes map to same URI Child elements don't inherit parent's prefixed namespace—each must declare or use prefix explicitly

Encoding

<?xml version="1.0" encoding="UTF-8"?> must match actual file encoding—mismatch corrupts non-ASCII Encoding declaration must be first thing in file—no whitespace or BOM before it (except UTF-8 BOM allowed) Default encoding is UTF-8 if declaration omitted—but explicit is safer across parsers

Escaping & CDATA

Five entities always escape in text: &amp; &lt; &gt; &quot; &apos; CDATA sections <![CDATA[...]]> for blocks with many special chars—but ]]> inside CDATA breaks it Attribute values: use &quot; if delimited by ", or &apos; if delimited by ' Numeric entities &#60; and &#x3C; work everywhere—useful for edge cases

Whitespace

Whitespace between elements is preserved by default—pretty-printing adds nodes that may break processing xml:space="preserve" attribute signals whitespace significance—but not all parsers respect it Normalize-space in XPath: normalize-space(text()) trims and collapses internal whitespace

XPath Pitfalls

//element is expensive—traverses entire document; use specific paths when structure is known Position is 1-indexed: [1] is first, not [0] text() returns direct text children only—use string() or . for concatenated descendant text Boolean in predicates: [@attr] tests existence, [@attr=''] tests empty value—different results

Structure

Self-closing <tag/> and empty <tag></tag> are semantically identical—but some legacy systems choke on self-closing Comments cannot contain --—will break parser even inside string content Processing instructions <?target data?> cannot have ?> in data Root element required—document with only comments/PIs and no element is invalid

Validation

Well-formed ≠ valid—parser may accept structure but fail against schema DTD validates but can't express complex constraints—prefer XSD or RelaxNG for new projects XSD namespace xmlns:xs="http://www.w3.org/2001/XMLSchema" commonly confused with instance namespace

Category context

Agent frameworks, memory systems, reasoning layers, and model-native orchestration.

Source: Tencent SkillHub

Largest current source with strong distribution and engagement signals.

Package contents

Included in package
1 Docs
  • SKILL.md Primary doc