Hello Im running win2k03 server and cfmx7
Ive written a cfc to do the editing of the metabase.xml file i require, in order to add domains/mappings/ftp sites etc etc... however i'm running into a problem that corrupts the xml file. The problem comes with things like webserver bindings. Somebody in their wisdom decided to make them into a list delimited by some sort of white space, rather than seperate xml entities, and so when i use XMLParse() to parse the text into coldfusion readable xml, the whitespace seems to get changed or removed or something and so when you re-save the xml file, IIS throws up errors for the bindings and shuts down the sites affected... it also affects web server extensions in the same way. Has anybody run into this problem or somethign similar? Are there any solutions? I'm really doing very little more than XmlParse() into a variable, adding/editing/removing some xml entities, then saving the xml back using <cffile>... TIA, Ryan ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217342 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54