Commit 1eea18b8 authored by Jerome Mariette's avatar Jerome Mariette
Browse files

No commit message

No commit message
parent a61b4c24
......@@ -321,11 +321,11 @@ class tx_nG6_eid {
$id->appendChild($current_node);
$attr_current_node = $doc->createAttribute("xml:id");
$current_node->appendChild($attr_current_node);
$t_current_node = $doc->createTextNode("node_"+str_replace(".", "_", $mparts[1]));
$t_current_node = $doc->createTextNode("node_".str_replace(".", "_", $mparts[1]));
$attr_current_node->appendChild($t_current_node);
$current_node->setIdAttribute("xml:id", true);
$current_nodet = $doc->createTextNode('');
$current_nodet = $current_node->appendChild($current_nodet);
$current_nodet = $current_node->appendChild($current_nodet);
} else {
$current_node = $doc->createElement('node');
$current_node->setAttribute("name", $mparts[2]);
......@@ -334,7 +334,7 @@ class tx_nG6_eid {
$id->appendChild($current_node);
$attr_current_node = $doc->createAttribute("xml:id");
$current_node->appendChild($attr_current_node);
$t_current_node = $doc->createTextNode("node_"+str_replace(".", "_", $mparts[1]));
$t_current_node = $doc->createTextNode("node_".str_replace(".", "_", $mparts[1]));
$attr_current_node->appendChild($t_current_node);
$current_node->setIdAttribute("xml:id", true);
$current_nodet = $doc->createTextNode('');
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment