Ask a Question related to Macromedia Flash Data Integration, Design and Development.
-
I.L.B. #1
Inserting XML nodes
I want to insert a new XML node in my XML object, but not at the end as
..appendchild() method does, but in the node position of my choice...
for instance, I want to place my newly created XML node between nodes 57 and
58 of my existent XML object.
How can I do it? .insertBefore() method does not work to me for secondary
nodes.
For example, let's say I got this:
<agenda>
<entry>John</entry>
<entry>Mary</entry>
</agenda>
I want to insert the node "<entry>Michael</entry>" in between of John and
Mary... wich would be the right way to do it?
Thanks !
ILB
I.L.B. Guest
-
Accessing XML nodes
Suppose this your XML: <content> <author> <book> <title>this is the title</title> <description>book description</description> <book>... -
Check for missing xml nodes or empty nodes
Hi, Is it possible to check for missing or empty xml nodes "before" putting them into a table or doing a XMLSearch . Sometimes the xml will come... -
Interactive nodes.
Hey, ive been to bit-101.com, and i really like the nodes and things it has on there. I got the tutorial on how i make a simple on of his type, but... -
Creating nodes with ASP
I have a page that lists categories on the left, and I'd like to be able to click on one, and have a node pop out, revealing subcategories so users... -
referencing XML nodes by name
I would like to access the info in an XML file by name but Macromedias XML-Xtra instructions only explain how to access data via child-number eg... -
I.L.B. #2
Re: Inserting XML nodes
Well for anybody could be interested in this, I found something that works:
xml.childNodes[n].appendChild(xmlnode);
This way I can decide where to insert my new node, if previously defined as
a new XML object.
Cheers,
Ig.
"I.L.B." <suricata_2@hotmail.com> escribió en el mensaje
news:d7k2md$c39$1@forums.macromedia.com...and> I want to insert a new XML node in my XML object, but not at the end as
> .appendchild() method does, but in the node position of my choice...
>
> for instance, I want to place my newly created XML node between nodes 57> 58 of my existent XML object.
>
> How can I do it? .insertBefore() method does not work to me for secondary
> nodes.
>
> For example, let's say I got this:
>
> <agenda>
> <entry>John</entry>
> <entry>Mary</entry>
> </agenda>
>
> I want to insert the node "<entry>Michael</entry>" in between of John and
> Mary... wich would be the right way to do it?
>
> Thanks !
>
> ILB
>
>
I.L.B. Guest



Reply With Quote

