It seems to me that the XML manipulation functions in ColdFusion 8 are not as mature as those for manipulating arrays and structures. Do you have any suggestions for additional functions/tags which make it more straightforward to manipulate a parsed XML document? (I’ve come across XML2Struct but as I’m going to write the manipulated XML back out to a file, I’d rather not transform it and then have to transform back)
Share
You might find a few functions to use on cflib.org.
Ben Nadel has quite a few blog posts on xml manipulation and could probably give quite a few tips on using ColdFusion’s xml functions beyond what you think is possible.
Another option is to just tap into the java by using createObject(“java”,”some.java.class”) and manipulate the xml. I’m sure you could find whatever you need in the java api.