Метод | Описание | |
---|---|---|
__construct ( DOMDocument $document, array $namespaces ) | ||
__toString ( ) : string | Create a document with the replaced namespaces and return it as XML string. | |
getDocument ( ) | Create a document with the replaced namespaces. |
Метод | Описание | |
---|---|---|
getMappedNamespace ( string $namespaceUri ) : string | ||
importAttribute ( DOMElement $parent, DOMAttr $source ) | ||
importElement ( DOMNode $parent, DOMElement $source ) | ||
importNode ( DOMNode $parent, DOMNode $source ) |
public __construct ( DOMDocument $document, array $namespaces ) | ||
$document | DOMDocument | |
$namespaces | array |
public __toString ( ) : string | ||
Результат | string |
public getDocument ( ) |