Generally I recomended the function xmlFormat() which escapes characters for just this purpose. But I am not sure escaped characters would make good file names, but my brain is too foggy this morning to know for sure.
Secondly you might wrap the file section of your XML tree in a CDATA block that tells the XML 'there be unsafe characters here, ignore them'. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/Flex/message.cfm/messageid:5245 Subscription: http://www.houseoffusion.com/groups/Flex/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.37
