Search recursively for all nodes which are tags and have the tag name tag.
Like isTag, but if n does not satisfy the criteria and it has one child node, check it recursively instead. Returns the satisfying node or null.
Returns true if node n is a tag, and its tag name is tag.
Create a new node with the given properties.
Create a tag new node with the given properties.
Create a text node with the given contents.
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
Useful ae.utils.xml helpers