xml_document
Represents an XML document.
Target
Signature
1xml_documentRepresents an XML document.
xml_document constructs or identifies a LaiRu value type. xml_document works with structured document or media data. Keep parsing, transformation, and output steps separate enough that each step can be checked on its own.
Examples
Basic call
1xml('<root/>')->createElement('item')The example shows the normal call shape. Adapt variable names, validation, and surrounding error handling to the context.