What is an efficient way to convert XMLList object into children of an
XML object?

I'm using the XMLList methods to rearrange my XML children to specified
order, but I need to convert the reordered XMLList back into datatyped
XML objects into the original XML object.

var obj:XML=
<OBJECT>
  <POINT id="1">
   <X/>
   <Y/>
   <Z/>
  </POINT>
  <POINT id="2">
   <X/>
   <Y/>
   <Z/>
  </POINT>
</OBJECT>;

var points:XMLList=obj.POINT;


//How would convert "points" XMLList back into datatype XML children of
the variable "obj"?

--Keith H--
begin:vcard
n:HAIR;KEITH
fn:KEITH HAIR
version:2.1
email;internet:[EMAIL PROTECTED]
end:vcard

Reply via email to