api/MarkLogic/MLPHP/Extracts.php
public function addQName($element, $ns = '', $attribute = '', $attributeNs = '') {
        $qname = new QName($element, $ns, $attribute, $attributeNs);
        $this->qnames[] = $qname;
    }
public function addQName($element, $ns = '', $attribute = '', $attributeNs = '') {
        $qname = new QName($element, $ns, $attribute, $attributeNs);
        $this->qnames[] = $qname;
    }
Add QName metadata.
@todo Defining extract as QName not working
@see https://github.com/marklogic/mlphp/issues/6

@param string $element An element name.
@param string $ns An element namespace.
@param string $attribute An attribute name.
@param string $attributeNs An attribute namespace.