public function xmlName($element)
    {
        list($ns, $localName) = XmlService::parseClarkNotation($element);
        if (isset($this->namespaceMap[$ns])) {
            $propName = $this->namespaceMap[$ns].':'.$localName;
        } else {
            $propName = $element;
        }

        return '<span title="'.$this->h($element).'">'.$this->h($propName).'</span>';
    }
public function xmlName($element)
    {
        list($ns, $localName) = XmlService::parseClarkNotation($element);
        if (isset($this->namespaceMap[$ns])) {
            $propName = $this->namespaceMap[$ns].':'.$localName;
        } else {
            $propName = $element;
        }

        return '<span title="'.$this->h($element).'">'.$this->h($propName).'</span>';
    }
public function xmlName ( $ element ) { list ( $ ns , $ localName ) = XmlService :: parseClarkNotation ( $ element ) ; if ( isset ( $ this -> namespaceMap [ $ ns ] ) ) { $ propName = $ this -> namespaceMap [ $ ns ] . ':' . $ localName ; } else { $ propName = $ element ; } return '<span title="' . $ this -> h ( $ element ) . '">' . $ this -> h ( $ propName ) . '</span>' ; }
This method takes an xml element in clark-notation, and turns it into a
shortened version with a prefix, if it was a known namespace.

@param string $element

@return string
This method takes an xml element in clark - notation and turns it into a shortened version with a prefix if it was a known namespace .