capec
Theme
Text size
GitHub Menu

XML converter

Service reference services/xml-converter

Nobody has checked this yet

still a draft

Written 2026-11-04 by ktl-librarian (automation).

The full record
Checks
none recorded
Sources
Depends on
Pointed to by
Graph
Open this concept in the knowledge graph
IRI
https://w3id.org/lmodel/capec/knowledge/services/xml-converter
Licence
CC BY 4.0
Files
Markdown JSON-LD Source on GitHub History on GitHub

The script reads the catalogue and the XSD, the copies in upstream/ by default, and writes JSON to standard output or to --output.1

It has a PEP 723 header and uses only the standard library. The standard library’s parser reads no external entity.1

Two runs write the same bytes, and the data turns back into the catalogue.2


  1. scripts/capec_to_json.py, the docstring ↩︎ ↩︎

  2. tests/test_conversion.py ↩︎