Got the code that does the rewriting of the attributes? When writing structures, myStruct.someKey will result in SOMEKEY when you view it. The way around it is to do myStruct["someKey"].
Adrian Building a database of ColdFusion errrors at http://cferror.org/ -----Original Message----- From: Marc Edwards Sent: 27 October 2008 17:08 To: cf-talk Subject: Issue with XML I am working on a project that needs to parse through and xml file and add new xml elements to specific child tags. I have been able to accomplish adding the elements in the positions that I need them, but when I re write them to a file the xml attributes show up as uppercase. Here is my example. Unfortunately, the application that reads the xml relies on the values to be be mixed case so I just can't lcase the output when writing the file. Any help is greatly appreciated. *This is the xml that is currently in the file* <component articlenumber="" description="Fan" id="15" imagefile="" name="Fan" popuptext="" type="CMC-TC FAN" uniqueid="module(riwatchit_communication_module_urb00001889)/snmp( 10.38.0.225)/PU(1)/CU(fan)"> <location path="1/2"/> <technicalreference path="12/13"/> <variablereference eventfilterlevel="0" owner="true" showfilterlevel="0" variableid="7"/> <variablereference eventfilterlevel="0" owner="true" showfilterlevel="6" variableid="8"/> <variablereference eventfilterlevel="0" owner="true" showfilterlevel="0" variableid="9"/> <variablereference eventfilterlevel="0" owner="true" showfilterlevel="6" variableid="10"/> <variablereference eventfilterlevel="0" owner="true" showfilterlevel="1" variableid="11"/> <variablereference eventfilterlevel="0" owner="true" showfilterlevel="3" variableid="12"/> <variablereference eventfilterlevel="0" owner="true" showfilterlevel="3" variableid="13"/> <variablereference eventfilterlevel="0" owner="true" showfilterlevel="3" variableid="14"/> <right name="read" role="default"/> <right name="settings" role="default"/> <property editable="false" name="Host" type="IP-Address">10.38.0.225 </property> </component> *This is the xml that I create and add* <component ARTICLENUMBER="7320.240" DESCRIPTION="Rittal PDU" ID="16" IMAGEFILE="" NAME="Rittal PDU" POPUPTEXT="" TYPE="Rittal PDU" UNIQUEID="module(riwatchit_communication_module_urb00001889)/snmp( 99.99.99.99)/PU(1)/CU(fan)/varId(1.3.6.1.4.1.2606.100.1.2.5.1.10.1.2)"><loca tion PATH="1/2"/><technicalreference PATH="3/14"/><right NAME="read" ROLE="default"/><right NAME="settings" ROLE="default"/><property EDITABLE="false" NAME="Host" TYPE="IP-Address">99.99.99.99</property><property EDITABLE="false" NAME="Port" TYPE="Integer">5</property><variablereference EVENTFILTERLEVEL="0" OWNER="true" SHOWFILTERLEVEL="0" VARIABLEID="15"/><variablereference EVENTFILTERLEVEL="0" OWNER="true" SHOWFILTERLEVEL="0" VARIABLEID="16"/><variablereference EVENTFILTERLEVEL="0" OWNER="true" SHOWFILTERLEVEL="0" VARIABLEID="17"/><variablereference EVENTFILTERLEVEL="0" OWNER="true" SHOWFILTERLEVEL="0" VARIABLEID="18"/><variablereference EVENTFILTERLEVEL="0" OWNER="true" SHOWFILTERLEVEL="0" VARIABLEID="19"/><variablereference EVENTFILTERLEVEL="0" OWNER="true" SHOWFILTERLEVEL="0" VARIABLEID="20"/><variablereference EVENTFILTERLEVEL="0" OWNER="true" SHOWFILTERLEVEL="0" VARIABLEID="21"/><variablereference EVENTFILTERLEVEL="0" OWNER="true" SHOWFILTERLEVEL="0" VARIABLEID="22"/><variablereference EVENTFILTERLEVEL="0" OWNER="true" SHOWFILTERLEVEL="0" VARIABLEID="23"/><variablereference EVENTFILTERLEVEL="0" OWNER="true" SHOWFILTERLEVEL="0" VARIABLEID="24"/></component></project> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314401 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

