Module xml

Source

Type Aliases§

Source§

type XmlAttrs = Record<string, string | number | boolean>

Source§

type XmlChild = XmlNode | string | boolean | number

Functions§

Source§

x(
    tag: string,
    contents?: XmlChild | XmlChild[] | null,
    attrs?: XmlAttrs,
): XmlNode

Source§

xls(tags?: (XmlChild | [XmlChild, XmlAttrs])[]): XmlNode[] | undefined

Classes§

XmlNode