[jQuery] New plugin: toXML (XML serializer)

[jQuery] New plugin: toXML (XML serializer)

I'm sorry but I don't agree with this plugin's name or usage. It simply
appends multiple valid xml together so the result could be invalid xml and
include multiple root elements. In my opinion, the result of any method
named .toXML() should be valid xml and the following tests should result in
valid XML documents.
IE: domDoc.loadXML( $([ item1, item2 ]).toXML() );
FF: (new DOMParser()).parseFromString( $([ item1, item2 ]).toXML(),
"text/xml" );
Tony Collins
-----Original Message-----
From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On
Behalf Of Christof Donat
Sent: Thursday, October 05, 2006 10:02 AM
To: jQuery Discussion.
Subject: Re: [jQuery] New plugin: toXML (XML serializer)
Hi,