On 11/1/06, Zaphod Beeblebrox <[EMAIL PROTECTED]> wrote: > If I have a very large xml document that I need to update parts of and > post only that part to another web service, what would be the best way > of pulling out just a node with it's children?
Well, it depends. I think with the default XML parser CF uses, it reads the whole document in. Depending on how things are spread out, you could use something like SAX (sp?) to process on the fly, as the file is read, vs. reading the whole thing into memory and then grabbing nodes, etc.. Not for the faint of heart though... > I started out creating an xslt file that would recreate the xml with > only the parts I need, but then I also thought that pulling it out > with xpath statements would be a better alternative. Any other > alternative I'm missing? > > zB > > -- > "One of these days, I'm going to cut you up into little pieces!" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Community/message.cfm/messageid:219149 Subscription: http://www.houseoffusion.com/groups/CF-Community/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5
