>> Is there a way to make it create the following XML?
>>
>>
>>
>>
>>
>>
>>
>>
>> I can't seem to find any dom functions to do this.
>>
>> Thanks in advance,
>> Shanon
>>
>>
>
>DOMProcessingInstruction as such:
>
>error_reporting(E_ALL | E_STRICT);
>
>$doc = new DOMDocument();
>$doc-
Shanon Swafford schrieb:
I have the following code:
#!/usr/bin/php -q
formatOutput = true;
$foo = $doc->createElement("foo");
$doc->appendChild($foo);
$bar = $doc->createElement("bar");
$foo->appendChild($bar);
$bazz = $doc->createElement("bazz");
$foo->appendChild($ba
Shanon Swafford wrote:
I have the following code:
#!/usr/bin/php -q
formatOutput = true;
$foo = $doc->createElement("foo");
$doc->appendChild($foo);
$bar = $doc->createElement("bar");
$foo->appendChild($bar);
$bazz = $doc->createElement("bazz");
$foo->appendChild($bazz
3 matches
Mail list logo