question: public static Node selectSingleNode ( Node contextNode , String str , Node namespaceNode ) throws TransformerException { NodeIterator nl = selectNodeIterator ( contextNode , str , namespaceNode ) ; return nl . nextNode ( ) ; }
target:  Use an XPath string to select a single node. XPath namespace prefixes are resolved from the namespaceNode.