code/pagetypes/BrowseCataloguePage.php
/**
     * Also from the geocatalogue, this is used in the function above.
     *
     * @param  DOMXPath $xpath
     * @param  String $path
     * @param  DOMNodeList $field
     * @return DOMNodeList
     */
Also from the geocatalogue, this is used in the function above.
@param  DOMXPath $xpath
@param  String $path
@param  DOMNodeList $field
@return DOMNodeList
Also from the geocatalogue this is used in the function above . @param DOMXPath $xpath @param String $path @param DOMNodeList $field @return DOMNodeList
protected function queryNodeValue($xpath, $path, $field)
    {
        if ($xpath->query($path, $field)->length > 0) {
            return $xpath->query($path, $field)->item(0)->nodeValue;
        }
        return '';
    }
protected function queryNodeValue ( $ xpath , $ path , $ field ) { if ( $ xpath -> query ( $ path , $ field ) -> length > 0 ) { return $ xpath -> query ( $ path , $ field ) -> item ( 0 ) -> nodeValue ; } return '' ; }
Also from the geocatalogue, this is used in the function above.
Also from the geocatalogue this is used in the function above .
// Return empty string as the templates do not know how to render null.