|
Posted by Benjamin on 08/11/07 02:20
On Aug 7, 12:36 am, Toby A Inkster <usenet200...@tobyinkster.co.uk>
wrote:
> Benjamin wrote:
> > Toby A Inkster <usenet200...@tobyinkster.co.uk> wrote:
> >> Benjamin wrote:
>
> >>> First of all that's not valid XML.
> >> [...]
> >>> <?xml version="1.0"?>
> >>> <categories>
> >>> <category id="1" parent-id="1" level="2">
> >>> <category id="2" parent-id="1" level="3">
> >>> <category id="3" parent-id="5" level="6">
> >>> </categories>
>
> >> Nor is that.
>
> > well formed, I mean! :)
>
> It ain't well-formed either.
Ok, you win:
<?xml version="1.0"?>
<categories>
<category id="1" parent-id="1" level="2"/>
<category id="2" parent-id="1" level="3"/>
<category id="3" parent-id="5" level="6"/>
</categories>
>
> --
> Toby A Inkster BSc (Hons) ARCS
> [Geek of HTML/SQL/Perl/PHP/Python/Apache/Linux]
> [OS: Linux 2.6.12-12mdksmp, up 47 days, 9:15.]
>
> Command Line Interfaces, Again
> http://tobyinkster.co.uk/blog/2007/08/02/command-line-again/
[Back to original message]
|