Expand description
XML parsing utilities for Sonos UPnP event processing.
This module provides reusable XML parsing components that were consolidated from the sonos-parser crate. It includes namespace stripping, attribute parsing, and DIDL-Lite metadata structures.
Structs§
- Didl
Item - Individual item in DIDL-Lite metadata containing track information.
- Didl
Lite - DIDL-Lite root structure for media metadata.
- Didl
Resource - Resource element in DIDL-Lite containing media resource information.
- Nested
Attribute - Represents an XML element with a
valattribute containing nested XML. - Value
Attribute - Represents an XML element with a
valattribute.
Functions§
- deserialize_
nested - Custom deserializer for nested XML content.
- deserialize_
zone_ group_ state - Deserialize ZoneGroupState from nested XML string.
- parse
- Parse XML string into a deserializable type with namespace stripping.
- strip_
namespaces - Strip namespace prefixes from XML content to simplify parsing.