pub fn parse_unit(n: Node<'_>, doc: u32) -> Result<Unit, Diagnostic>
Parse an xbrli:unit element.
xbrli:unit