Sorry for one more probably basic XML question,
but how do you create an XMLList object? I've tried:
var list:XMLList =
user pos=0 money=123 changed=2 pool=10.20.30 whist1=10.20
whist2=100 /
user pos=2 money=-123 changed=4 mount=1.2.3
whist1=10.20.100.300 whist2=100 /
;
var list:XMLList =
as far as i know, xml list is really designed to be a way of accessing
multiple nodes in an xml doc so you would start with an XML object and pull
the list from there
var xml:XML =
users
user pos=0 money=123 changed=2 pool=10.20.30 whist1=10.20
whist2=100 /
user pos=2 money=-123 changed=4
Subject: [Flashcoders] Creating a XMLList in the source code
Sorry for one more probably basic XML question,
but how do you create an XMLList object? I've tried:
var list:XMLList =
user pos=0 money=123 changed=2 pool=10.20.30 whist1=10.20
whist2=100 /
user pos=2 money=-123 changed=4 mount=1.2.3
Hi,
I don't think you can do this - you have to create a single XML node
around the list then pull the list out from that..
Glen
Alexander Farber wrote:
Sorry for one more probably basic XML question,
but how do you create an XMLList object? I've tried:
var list:XMLList =
user pos=0
In this case you may use String as parameter for the constructor.
var xmlList:XMLList = new XMLList('user pos=0 money=123
changed=2 pool=10.20.30 whist1=10.20 whist2=100 /user
pos=2 money=-123 changed=4 mount=1.2.3whist1=10.20.100.300
whist2=100 /');
You can also use Boolean and Number as
5 matches
Mail list logo