Expand description
Type definitions for XML element representation.
Uses serde_json::Value for flexible representation matching the TypeScript structure:
- Object with keys: element names, @attr for attributes, #text for text content, ?xml for declaration
- Values: string, nested object, or array of objects/strings
Structs§
- Build
Disassembled File Options - Options for building a single disassembled file.
- Build
Disassembled Files Options - Options for building disassembled files from a source file.
- Decompose
Rule - Rule for decomposing a nested tag when using grouped-by-tag strategy. E.g. write each <objectPermissions> to its own file, or group <fieldPermissions> by object.
- Leaf
Write Options - Leaf
Write Params - Parameters for writing leaf content.
- Multi
Level Config - Persisted config for multi-level reassembly (stored as .multi_level.json in the disassembly root).
- Multi
Level Rule - Rule for multi-level disassembly: which files to further disassemble and how.
- Unified
Parse Result - Result from unified element parsing.
- XmlElement
Params - Parameters for parsing an element during disassembly.
Type Aliases§
- XmlElement
- XmlElement is a flexible representation of XML - equivalent to TypeScript’s XmlElement type. Uses serde_json::Value for compatibility with quickxml_to_serde output.
- XmlElement
Array Map - Map of tag name to array of elements.