NewsML-G2 2.36

Preview. Generated from the NewsML-G2 2.36 XML Schema by tools/xsdref. This layout is a harness for reviewing structure and content — it is not the published site.

NewsML-G2 Schema Reference

Generated from NewsML-G2_2.36-spec-All-Power.xsd. Every element name in the schema has a page giving its definition, the contexts it is declared in, its content model and its attributes, with any User Note or Implementation Note from Specification §14 merged in.

306pages210elements78datatypes18attribute groups797searchable names

The News Architecture family

Pick the one that matches what you are sending and follow its content model down. <newsMessage> is the transport envelope: it carries Items rather than content of its own.

Structure matrix

Every element against every attribute. The pages above answer “what can this element carry?”; the matrix answers it in bulk, and records which document roots each element is reachable from. Most useful for the attributes that arrive through a group — @creator reaches 195 elements through commonPowerAttributes. It replaces the spreadsheet that was maintained by hand and last revised for 2.27.

NewsML-G2 2.36 structure matrixExcel workbook · shaded by attribute group and element categorySame data in CSV format210 elements × 238 columns · for scripts and diffs

Matrices for 2.28 onwards are generated from each released schema and committed alongside them in documentation/structure-matrix.

Finding things

Press / to search. Both elements and attributes are indexed, so @residref finds the attribute and residref finds everything mentioning it; each result says where it is declared, because a name like @role appears in many places with different meanings.