XML Tree / API Docs
XML Tree / PlatPhorm XML Registry
Canonical XML viewer, formatter, validator, tree explorer, XPath tester, XML registry, feed inspector, sitemap inspector, and XML conversion utility for the PlatPhormNews web mesh.
Public-safe Phase 1 Future protected actions: PLATPHORM_API_KEY
REST Endpoints
| Method | Path | Capability | Access |
|---|---|---|---|
POST | /api/v1/parse | Parse XML into a tree and validation result. | Public-safe |
POST | /api/v1/format | Pretty-format XML with bounded indentation. | Public-safe |
POST | /api/v1/minify | Minify XML after real XML validation. | Public-safe |
POST | /api/v1/validate | Validate XML syntax and security constraints. | Public-safe |
POST | /api/v1/stats | Return XML node, line, namespace, and depth stats. | Public-safe |
POST | /api/v1/xpath | Run the Phase 1 bounded XPath subset. | Public-safe |
POST | /api/v1/xsd/validate | Run safe XML plus basic XSD root contract validation; reports degraded semantic coverage. | Public-safe |
POST | /api/v1/rss/inspect | Inspect RSS 2.0 feeds. | Public-safe |
POST | /api/v1/atom/inspect | Inspect Atom feeds. | Public-safe |
POST | /api/v1/sitemap/inspect | Inspect sitemap and sitemap index XML. | Public-safe |
POST | /api/v1/convert/json | Convert XML to a structured JSON representation. | Public-safe |
POST | /api/v1/convert/yaml | Convert XML to deterministic YAML. | Public-safe |
GET | /api/v1/schemas | List public built-in XML schema examples and degraded registry status. | Public-safe |
GET | /api/v1/schemas/{slug} | Read one public built-in schema record. | Public-safe |
MCP Tools
21 XML-focused JSON-RPC tools are exposed. Read-only introspection is public. Report-generation tools return honest future-protected scaffolding instead of fake side effects.
parse_xml
format_xml
minify_xml
validate_xml
get_xml_stats
run_xpath
validate_xsd
inspect_rss
inspect_atom
inspect_sitemap
convert_xml_to_json
convert_xml_to_yaml
list_schemas
get_schema
get_health
get_info
get_route_compliance
get_discovery_compliance
create_docs_report
create_sheet_report
create_deck_summary
Auth
Public XML parse, format, validate, inspect, and conversion endpoints do not require a key in Phase 1. Future protected backend actions accept only Authorization: Bearer $PLATPHORM_API_KEY or X-PlatPhorm-API-Key: $PLATPHORM_API_KEY when enforcement is enabled.