Hi all,
I thought that you might be able to help me with an XML problem I'm having.
Essentially I have an XML packet like the one below.

<article_objects>
<thumbnail id = "32:4" height = "44" name = "my pic">test.jpg</thumbnail>
<thumbnail id = "32:5" height = "45" name = "my poc">tost.jpg</thumbnail>
<headline id = "32:6">we are famous now</headline>
</article_objects>


I want to say 'delete the thumbnail with id 32:5'. So using the element name
and id attribute I would like to remove that element from the XML packet.
But I don't seem to be able to get it to work. I was wondering if you had
any suggestions about how to approach this. Whether to use a removeChild /
removeAll / removeNode / removeElement method or how to select the
appropriate element. I am doing it all in ColdFusion - does this cause any
limitations?

I would appreciate any help you could give on the matter.
many thanks

Cedric Wooding
[EMAIL PROTECTED]
http://www.torchbox.com
Tel: 01608 811870
Fax: 01608 811988

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-community@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to