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
Returns NodeList
Static hasAttribute
- hasAttribute(node: Node, attrName: string): boolean
-
Parameters
-
node: Node
-
attrName: string
Returns boolean
Static nodeToString
- nodeToString(node: Node): string
-
Parameters
Returns string
Static readAttributeValue
- readAttributeValue(node: Node, attrName: string): string
-
Parameters
-
node: Node
-
attrName: string
Returns string
Static strToXml
- strToXml(str: string): Node
-
Parameters
Returns Node
Static writeAttributeValue
- writeAttributeValue(node: Node, attrName: string, attrValue: string): void
-
Parameters
-
node: Node
-
attrName: string
-
attrValue: string
Returns void