say i have an xml doc
a
b
c /
/b
/a
how would i add a node d to node b, so i'd end up with something like this?
a
b
c /
d /
/b
/a
i've tried structInsert xmlElemNew. no workee. i seem to have mushed up the
part
cfset ArrayAppend(xml['a'].xmlChildren[1].xmlChildren, XmlElemNew(xml,
'd')) /
On 9/11/07, Paul Hastings [EMAIL PROTECTED] wrote:
say i have an xml doc
a
b
c /
/b
/a
how would i add a node d to node b, so i'd end up with something like
this?
a
Brian Kotek wrote:
cfset ArrayAppend(xml['a'].xmlChildren[1].xmlChildren, XmlElemNew(xml,
'd')) /
well that was intuitive ;-)
many thanks brian.
~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins
3 matches
Mail list logo