Subj : e4x question
To : netscape.public.mozilla.jseng
From : celso
Date : Thu Sep 29 2005 02:01 pm
Is there a quick way to replace element names w/ e4x?
I have the following xml structure:
hello
and I want it to look like:
hello
or,
hello
I want to avoid using:
x="a"; y="b";
new XML("<" + x + " id='1'><" + y + ">hello" + y + ">" + x + ">");
x="c"; y="d";
new XML("<" + x + " id='1'><" + y + ">hello" + y + ">" + x + ">");
Thanks!
Celso
.