eoghan,
<snip>
> $xml = "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\r\n";
> $xml .= "\t<apps>\r\n";
> $xml .= "\t\t<application id=\"1\">\r\n";
> $xml .= "\t\t\t<name>Editor</name>\r\n";
> $xml .= "\t\t\t<author>John</author>\r\n";
> $xml .= "\t\t\t<bugs>\r\n";
> $xml .= "\t\t\t\t<bug>\r\n";
> $xml .= "\t\t\t\t\t<desc>Foo</desc>\r\n";
> $xml .= "\t\t\t\t\t\t<sev>2</sev>\r\n";
> $xml .= "\t\t\t\t</bug>\r\n";
> $xml .= "\t\t\t\t<bug>\r\n";
> $xml .= "\t\t\t\t\t<desc>Bar</desc>\r\n";
> $xml .= "\t\t\t\t\t\t<sev>3</sev>\r\n";
> $xml .= "\t\t\t\t</bug>\r\n";
> $xml .= "\t\t\t</bugs>\r\n";
> $xml .= "\t</apps>\r\n";
</snip>

Basically the only problem I can see is you don't have an ending application 
tag.
-- 
Thank You,

Clifford W. Hansen
Operations Support Developer
Aspivia (Pty) Ltd.

+27 (0) 11 259-1150 (Switchboard)
+27 (0) 11 259-1019 (Fax)
+27 (0) 83 761-0240 (Mobile)
[EMAIL PROTECTED] (EMail)
http://chansen.aspivia.com (Web)

"We have seen strange things today!" Luke 5:26

This message contains information intended for the perusal, and/or use (if so 
stated), of the stated addressee(s) only. The information is confidential and 
privileged. If you are not an intended recipient, do not peruse, use, 
disseminate, distribute, copy or in any manner rely upon the information 
contained in this message (directly or indirectly). The sender and/or the 
entity represented by the sender shall not be held accountable in the event 
that this prohibition is disregarded.

If you receive this message in error, notify the sender immediately by e-mail, 
fax or telephone and return and/or destroy the original message.

The views or representations contained in this message, whether express or 
implied, are those of the sender only, unless that sender expressly states 
them to be the views or representations of an entity or person, who shall be 
named by the sender and who the sender shall state to represent. No liability 
shall otherwise attach to any other entity or person.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to