Trevixal API
    Preparing search index...
    Index
    • Parameters

      • name: string
      • attrs: Record<string, string>
      • children: XmlNode[] = []

      Returns XmlElement

    attrs: Record<string, string>
    children: XmlNode[] = []
    name: string
    • An attribute value, or undefined.

      Parameters

      • name: string

      Returns string | undefined

    • The first direct child with the given name.

      Parameters

      • name: string

      Returns XmlElement | undefined

    • Direct children with the given name.

      Parameters

      • name: string

      Returns XmlElement[]

    • Direct children that are elements.

      Returns XmlElement[]

    • The first descendant (depth-first) with the given name.

      Parameters

      • name: string

      Returns XmlElement | undefined

    • Every descendant with the given name, in document order.

      Parameters

      • name: string

      Returns XmlElement[]

    • The concatenated text of every descendant text node.

      Returns string