}
HTH,
Ryan
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Maciek Sakrejda
Sent: Monday, November 17, 2008 12:13 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Regular Expressions?
As a String? You *should* be able to use the top-level XMLList()
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 = ;
var fooList:XMLList = new XMLList(foo);
Then just iterate over it. I would investigate the XML/XMLList API docs,
because your data will be muc
I'm with Maciek on this one. Why struggle with text parsing when xml is
a done deal?
What do you mean by "by the node that I am currently working with"?
You can access any node any attribute in several ways, depending on what
you are trying to do.
Tracy
__
As much as I love regular expressions, this seems like a job for e4x
instead:
var foo:XML =
var color:String = [EMAIL PROTECTED];
var size:String = [EMAIL PROTECTED];
If you don't know your attributes in advance, you can even do something
like
for each (var attribute:XML in [EMAIL PROTECTED])
4 matches
Mail list logo