What's the best way to turn
this:
myXMLNode =
my_xml
row id=a /
row id=b /
row id=c /
/my_xml;
into:
my_xml
row id=a
row id=b /
row id=c /
/row
/my_xml
Using some E4X?
It's not so much a case of adding b and c as children of a, but of
removing them so I don't end up with:
my_xml
I am looking for the best AS3 face detection/recognition available source
currently around. Anyone have pointers? Googling shows a lot of older stuff.
Thanks!
Eric
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
row id=c /
/row
And
row id=c /
/row
Are not valid XML. Therefore, I'm not clear on what you want to do. :)
Jason Merrill
Instructional Technology Architect II
Bank of America Global Learning
___
-Original Message-
From:
On 11/10/2011 16:33, Merrill, Jason wrote:
row id=c /
/row
And
row id=c /
/row
Are not valid XML. Therefore, I'm not clear on what you want to do. :)
Hmm..
myXMLNode =
my_xml
row id=a /
row id=b /
row id=c /
/my_xml;
into:
my_xml
row id=a
row id=b /
row id=c /
/row
/my_xml
I didn't
Hi,
You would have to:
1 Create a new XML node,
myNewNode = my_xml/
2. Select nodes from the existing XML where id != a
var nodes:XMLList = my_xml.child(row).attribute(id != a);
3. Select nodes from existing XML where id = a
var parentNodes:XMLList =
This, what you are saying you want to turn it into:
row id=c /
/row
That actually is valid, sorry, but you just want to have any empty node in
there? Check out this thread:
http://www.kirupa.com/forum/showthread.php?318159-AS3-XML-How-to-add-element-nodes
Jason Merrill
Instructional
On 11/10/2011 17:21, Merrill, Jason wrote:
This, what you are saying you want to turn it into:
row id=c /
/row
That actually is valid, sorry, but you just want to have any empty node in
there? Check out this thread:
Just trying to help. :) I don't know if this helps what you're trying to do,
but I have found it much easier to parse XML data into value objects and
vectors, then doing the data manipulations from there, rather than trying to do
all the manipulations with E4X. But if that isn't an option for
On 11/10/2011 17:38, Merrill, Jason wrote:
Just trying to help. :)
Yes, I appreciate it. Thank you.
I don't know if this helps what you're trying to do, but I have found it
much easier to parse XML data into value objects and vectors, then doing the
data manipulations from there, rather
Hi All,
I'm working on a project in which I continuously grab images from a server
(don't ask..) using MovieClipLoader.
everything works fine for a period of days then suddenly the player crashes
with the dreadful ..script to run slowly... dialog.
when I check my servers logs, i notice that the
10 matches
Mail list logo