Options
Menu

Class XmlUtils

Hierarchy

  • XmlUtils

Index

Methods

Static filterListByParam

  • filterListByParam(nodes: NodeList, paramName: string, paramValue: any): NodeList
  • Parameters

    • nodes: NodeList
    • paramName: string
    • paramValue: any

    Returns NodeList

Static getChildrenWithTag

  • getChildrenWithTag(node: Node, tag: string): NodeList
  • Parameters

    • node: Node
    • tag: string

    Returns NodeList

Static hasAttribute

  • hasAttribute(node: Node, attrName: string): boolean
  • Parameters

    • node: Node
    • attrName: string

    Returns boolean

Static nodeToString

  • nodeToString(node: Node): string
  • Parameters

    • node: Node

    Returns string

Static readAttributeValue

  • readAttributeValue(node: Node, attrName: string): string
  • Parameters

    • node: Node
    • attrName: string

    Returns string

Static strToXml

  • strToXml(str: string): Node
  • Parameters

    • str: string

    Returns Node

Static writeAttributeValue

  • writeAttributeValue(node: Node, attrName: string, attrValue: string): void
  • Parameters

    • node: Node
    • attrName: string
    • attrValue: string

    Returns void

Generated using TypeDoc