DomAttribute->value

(no version information, might be only in CVS)

DomAttribute->value --  Returns value of attribute

Description

mixed DomAttribute->value ( void )

This function returns the value of the attribute.

See also domattribute_name().

);
if (
$sxe === false) {
    echo
'Error while parsing the document';
    exit;
}

$dom_sxe = dom_import_simplexml($sxe);
if (!
$dom_sxe) {
    echo
'Error while converting XML';
    exit;
}

$dom = new domdocument("1.0");
$dom_sxe = $dom->importnode($dom_sxe, true);
$dom_sxe = $dom->appendchild($dom_sxe);

echo
$dom->savexml();
?>