Ok, I have figured out a way to get the tags... now I have one problem...

I get the name properties, like this:

var ptrn:RegExp = /<name(.?*)\/>/;

Now, is it possible to use a variable in there for name?

Something like this:

var field:String = 'name';
var ptrn:RegExp = /<field(.?*)\/>/;

Y/N?

Reply via email to