<XMLElement> / Element reference
XMLElement
The XMLElement element in IDML: where it appears (XML), its 2 attributes, their values, and how real documents use them.
Definition
One node of the document's XML structure, applying an XML tag to the content it holds.
- Lives in
XML271- Frequency
- In 271 of the 305 documents of the census (88.9%), 2026-10-12
- Attributes
- 2 observed, 2 of them vary between documents
- Discussed in
- The structured-content layer, Reading and preserving tagged XML, Tagged XML inside IDML, Glossary and Story structure
Structure
Relationships
Contains
XMLElement sits: the elements that hold it, and the elements it holds. Each number is the documents that show the pairing (census of 2026-10-12, 305 documents).Attributes
| Attribute | Type | Values | Seen in |
|---|---|---|---|
| MarkupTag# The XML tag this element applies, by the XMLTag's Self, such as XMLTag/Root. | reference to XMLTag | any | 100% varies in 2 |
| Self# The object's ID, unique within the document. An attribute that refers to this object holds this value. | text | any | 100% varies in 26 |
XMLElement (census of 2026-10-12, 305 documents). Seen in is the share of the 271 documents with a XMLElement that set the attribute; varies in counts those that hold a value other than the most common one. Values are listed, with the documents using each, only where documents use a small closed set. A name with a dotted underline links to the chapter that explains it. How the census counts.Evidence
- Observed
- In 271 of 305 documents (88.9%):
XML271. - Census
- Taken 2026-10-12 over 305 documents (34 written by test generators, 267 from template packs, 4 samples). It observed 281 elements; this reference gives 195 of them an entry. How the census counts
- Counts are
- Documents, not occurrences. Values are published only for small closed sets; numbers only by kind.
Paged support
What Paged, one implementation of the format, does with XMLElement. Nothing in this panel is part of the format; the reference above holds for any reader.
As of: scriptable paths from engine release v0.77.0; parse and write from the importer and exporter at paged b6f499b, read 2026-11-30; render from the capability record exported 2026-11-29.
- Parse
- Reads 2 of the 2 attributes
- Render
- 2 features of the capability record name this element (below)
- Edit
- No attribute maps to a scriptable path
- Write
- Writes 2 of the 2 attributes on IDML export
By attribute
| Attribute | Parse | Edit | Write |
|---|---|---|---|
| MarkupTag | readsxml_structure.rs:109 | — | writesxml_structure.rs:117 |
| Self | readsstory.rs:625 | — | writesxml_structure.rs:116 |
In the capability record
| Feature | Parse | Render | Edit | Evidence |
|---|---|---|---|---|
| Tagged XML backing store (XMLElement/XMLStory/Mapping) planned | planned | — | — | No evidence linked yet |
| Tagged XML structure (XMLElement/XMLStory/Mapping) planned | planned | — | — | No evidence linked yet |
Parse and write come from the idml-coverage record, which reads the importer and exporter source; each mark links to the line. Render is recorded per feature, not per attribute. A feature is listed when its title in the record names XMLElement.