' (type=string) does not support this operation
What triggered the Error:
The given node's type is not supported for this operation. For example, trying to add children to an attribute node, or passing in a document node as a child, are unsupported operations.What should we do to fix it:
Use a valid node type for the operation.