Skip to main content

document_attributes

Function document_attributes 

Source
pub fn document_attributes() -> Vec<&'static str>
Expand description

Return the recognized attribute names for the root zenith document node.

Derived from the parser’s own DOCUMENT_KNOWN_PROPS constant. Alias spellings (e.g. doc_id alongside doc-id) are de-duplicated to their canonical kebab-case form; the result is sorted for deterministic output.