To implement a new access API, your nodes must implement the following 10 methods: All nodes: node_type() Element nodes: size() root() namespace( prefix ) children() attribute( name, namespace ) Element and Attribute nodes: name() namespace() Processing Instruction nodes: target() Text, Processing Instruction, and Comment nodes: value()