I think you only have to change one line of your php code:
$text = $doc->create_text_node("00");
instead of
$text = $doc->create_text_node($el["00"]);
With best regards
Gabriel Birke
--
KONTOR4_Neue Medien
Plathnerstraße 5
30175 Hannover
Fax: +49 51184 48 98 99
mailto:[EMAIL PROTECTED]
http
[snip]
Can someone help me fix my code so that when I add an element I can
also set
some contents or a value for that element? example
000
[/snip]
$doc = domxml_new_doc("1.0");
$root = $doc->add_root("Server");
$root->set_attribute("Name", "pxtest01");
$el = $doc->create_element("Serial_Num
Using PHP 4.3.2 I am trying to create an XML file that looks similar to the
following:
0
0
DL380
8th Floor
2
Customer
Upgrade
I get the following output:
Using the following code:
add_root("Server");
$root->set_attribute("Name", "pxtest01");
$el = $doc->create_element("Seria
3 matches
Mail list logo