Message Oracle LPX-00013 - wrong node type

ERRORwrong node type
CAUSEThe wrong node type was given as argument to a DOM call.
ACTIONReview the failing function call, consult the documentation, and make sure the node types passed as correct.