{
  "schemaVersion": "1.0",
  "item": {
    "slug": "xml",
    "name": "XML",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/ivangdavila/xml",
    "canonicalUrl": "https://clawhub.ai/ivangdavila/xml",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/xml",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=xml",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "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."
        },
        {
          "label": "Upgrade existing",
          "body": "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."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/xml"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/xml",
    "agentPageUrl": "https://openagent3.xyz/skills/xml/agent",
    "manifestUrl": "https://openagent3.xyz/skills/xml/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/xml/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "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."
      },
      {
        "label": "Upgrade existing",
        "body": "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."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Namespaces",
        "body": "XPath /root/child fails if document has default namespace—use //*[local-name()='child'] or register prefix\nDefault namespace (xmlns=\"...\") applies to elements, not attributes—attributes need explicit prefix\nNamespace prefix is arbitrary—<foo:element> and <bar:element> are identical if both prefixes map to same URI\nChild elements don't inherit parent's prefixed namespace—each must declare or use prefix explicitly"
      },
      {
        "title": "Encoding",
        "body": "<?xml version=\"1.0\" encoding=\"UTF-8\"?> must match actual file encoding—mismatch corrupts non-ASCII\nEncoding declaration must be first thing in file—no whitespace or BOM before it (except UTF-8 BOM allowed)\nDefault encoding is UTF-8 if declaration omitted—but explicit is safer across parsers"
      },
      {
        "title": "Escaping & CDATA",
        "body": "Five entities always escape in text: &amp; &lt; &gt; &quot; &apos;\nCDATA sections <![CDATA[...]]> for blocks with many special chars—but ]]> inside CDATA breaks it\nAttribute values: use &quot; if delimited by \", or &apos; if delimited by '\nNumeric entities &#60; and &#x3C; work everywhere—useful for edge cases"
      },
      {
        "title": "Whitespace",
        "body": "Whitespace between elements is preserved by default—pretty-printing adds nodes that may break processing\nxml:space=\"preserve\" attribute signals whitespace significance—but not all parsers respect it\nNormalize-space in XPath: normalize-space(text()) trims and collapses internal whitespace"
      },
      {
        "title": "XPath Pitfalls",
        "body": "//element is expensive—traverses entire document; use specific paths when structure is known\nPosition is 1-indexed: [1] is first, not [0]\ntext() returns direct text children only—use string() or . for concatenated descendant text\nBoolean in predicates: [@attr] tests existence, [@attr=''] tests empty value—different results"
      },
      {
        "title": "Structure",
        "body": "Self-closing <tag/> and empty <tag></tag> are semantically identical—but some legacy systems choke on self-closing\nComments cannot contain --—will break parser even inside string content\nProcessing instructions <?target data?> cannot have ?> in data\nRoot element required—document with only comments/PIs and no element is invalid"
      },
      {
        "title": "Validation",
        "body": "Well-formed ≠ valid—parser may accept structure but fail against schema\nDTD validates but can't express complex constraints—prefer XSD or RelaxNG for new projects\nXSD namespace xmlns:xs=\"http://www.w3.org/2001/XMLSchema\" commonly confused with instance namespace"
      }
    ],
    "body": "Namespaces\nXPath /root/child fails if document has default namespace—use //*[local-name()='child'] or register prefix\nDefault namespace (xmlns=\"...\") applies to elements, not attributes—attributes need explicit prefix\nNamespace prefix is arbitrary—<foo:element> and <bar:element> are identical if both prefixes map to same URI\nChild elements don't inherit parent's prefixed namespace—each must declare or use prefix explicitly\nEncoding\n<?xml version=\"1.0\" encoding=\"UTF-8\"?> must match actual file encoding—mismatch corrupts non-ASCII\nEncoding declaration must be first thing in file—no whitespace or BOM before it (except UTF-8 BOM allowed)\nDefault encoding is UTF-8 if declaration omitted—but explicit is safer across parsers\nEscaping & CDATA\nFive entities always escape in text: &amp; &lt; &gt; &quot; &apos;\nCDATA sections <![CDATA[...]]> for blocks with many special chars—but ]]> inside CDATA breaks it\nAttribute values: use &quot; if delimited by \", or &apos; if delimited by '\nNumeric entities &#60; and &#x3C; work everywhere—useful for edge cases\nWhitespace\nWhitespace between elements is preserved by default—pretty-printing adds nodes that may break processing\nxml:space=\"preserve\" attribute signals whitespace significance—but not all parsers respect it\nNormalize-space in XPath: normalize-space(text()) trims and collapses internal whitespace\nXPath Pitfalls\n//element is expensive—traverses entire document; use specific paths when structure is known\nPosition is 1-indexed: [1] is first, not [0]\ntext() returns direct text children only—use string() or . for concatenated descendant text\nBoolean in predicates: [@attr] tests existence, [@attr=''] tests empty value—different results\nStructure\nSelf-closing <tag/> and empty <tag></tag> are semantically identical—but some legacy systems choke on self-closing\nComments cannot contain --—will break parser even inside string content\nProcessing instructions <?target data?> cannot have ?> in data\nRoot element required—document with only comments/PIs and no element is invalid\nValidation\nWell-formed ≠ valid—parser may accept structure but fail against schema\nDTD validates but can't express complex constraints—prefer XSD or RelaxNG for new projects\nXSD namespace xmlns:xs=\"http://www.w3.org/2001/XMLSchema\" commonly confused with instance namespace"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/ivangdavila/xml",
    "publisherUrl": "https://clawhub.ai/ivangdavila/xml",
    "owner": "ivangdavila",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/xml",
    "downloadUrl": "https://openagent3.xyz/downloads/xml",
    "agentUrl": "https://openagent3.xyz/skills/xml/agent",
    "manifestUrl": "https://openagent3.xyz/skills/xml/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/xml/agent.md"
  }
}