xcp.xmlunwrap¶
xmlunwrap - general methods to unwrap XML elements & attributes
- xcp.xmlunwrap.getBoolAttribute(el: Element, attrs: list[str], default: bool | None = None) bool | None [source]¶
- xcp.xmlunwrap.getIntAttribute(el: Element, attrs: list[str], default: int | None = None) int | None [source]¶
- xcp.xmlunwrap.getMapAttribute(el: Element, attrs: list[str], mapping: list[tuple[str, int]], default: str | None = None) Any [source]¶