(name: string)
| 87 | } |
| 88 | |
| 89 | public findChildElement(name: string): XmlNode | null { |
| 90 | for (const c of this.childNodes) { |
| 91 | if (c && c.nodeType === XmlNodeType.Element && c.localName === name) { |
| 92 | return c; |
| 93 | } |
| 94 | } |
| 95 | return null; |
| 96 | } |
| 97 | |
| 98 | public addElement(name: string): XmlNode { |
| 99 | const newNode = new XmlNode(); |
no outgoing calls