As a String? You *should* be able to use the top-level XMLList()
function to turn it into an XMLList (note, untested; should be close):

var foo:String = <name color="ffffff" size="16" /><address
color="000000" size="20" align="left" /><phone ... etc />;
var fooList:XMLList = new XMLList(foo);

Then just iterate over it. I would investigate the XML/XMLList API docs,
because your data will be much easier to work with as XML (since it is
XML) than using regular expressions, especially in terms of maintenance
and robustness.

-- 
Maciek Sakrejda
Truviso, Inc.
http://www.truviso.com
-----Original Message-----
From: tchredeemed <[EMAIL PROTECTED]>
Reply-To: [email protected]
To: [email protected]
Subject: [flexcoders] Re: Regular Expressions?
Date: Mon, 17 Nov 2008 17:30:41 -0000

one problem:

It comes back like this:

<name color="ffffff" size="16" /><address color="000000" size="20"
align="left" /><phone ... etc />

So, how would I separate them by the node that I am currently working
with?




 


Reply via email to