31
Macromedia Flash XML Tutorial / Re: save.php source code not available for download.
« on: February 26, 2007, 10:45:17 pm »
Well "a" means append..
I don't think it will be a well formed XML what you get, because you will have something like:
Which is not a good XML as it doesn't have a root node - a single node that embeds everything else..
But if you can parse this structure which is not a well formed XML, then it's ok I guess.
For more reading: http://en.wikipedia.org/wiki/XML where it says:
Every XML document must have exactly one top-level root element (alternatively called the document element), so the following would also be a malformed XML document: it has two top-level thing elements, with no overall parent element encasing them both.
<?xml version="1.0" encoding="UTF-8"?>
<!-- WRONG! NOT WELL-FORMED XML! -->
<thing>Thing one</thing>
<thing>Thing two</thing>
I don't think it will be a well formed XML what you get, because you will have something like:
Code: [Select]
<root>
<value>
10
</value>
</root>
<root>
<value>
10
</value>
</root>
Which is not a good XML as it doesn't have a root node - a single node that embeds everything else..
But if you can parse this structure which is not a well formed XML, then it's ok I guess.
For more reading: http://en.wikipedia.org/wiki/XML where it says:
Every XML document must have exactly one top-level root element (alternatively called the document element), so the following would also be a malformed XML document: it has two top-level thing elements, with no overall parent element encasing them both.
<?xml version="1.0" encoding="UTF-8"?>
<!-- WRONG! NOT WELL-FORMED XML! -->
<thing>Thing one</thing>
<thing>Thing two</thing>