hi, we have an xml file in a folder. we are trying to get the full contents of the xml out an into a string. however it is not being pulled out correctly.
sorry for the long code but this is the contents of the xml document: <?xml version="1.0"?><rows><row id='ui_questions' open='1'><cell>Questions</cell><cell></cell><row id='q_178' ><cell>Text</cell><cell>sssss</cell></row> <row id='q_179' ><cell>Number</cell><cell></cell></row> <row id='tb_86' open='1'><cell>One to Many Test</cell><cell></cell><row id='q_180_0' open='1'><cell>asds</cell><cell>gasgas</cell><row id='q_181_0' ><cell>asds</cell><cell></cell></row> <row id='q_224_0' ><cell>text 3</cell><cell></cell></row> <row id='tb_95' open='1'><cell>Inner One to Many Test</cell><cell></cell><row id='q_220_1' open='1'><cell>Inner UI</cell><cell></cell><row id='q_221_1' ><cell>Number</cell><cell></cell></row> </row> </row> </row> <row id='q_180_2' ><cell>asds</cell><cell>asdada</cell><row id='q_181_2' ><cell>asds</cell><cell></cell></row> <row id='q_224_2' ><cell>text 3</cell><cell></cell></row> <row id='tb_95_2' ><cell>Inner One to Many Test</cell><cell></cell><row id='q_220_2' ><cell>Inner UI</cell><cell></cell><row id='q_221_2' ><cell>Number</cell><cell></cell></row> </row> </row> </row> <row id='q_180_3' ><cell>asds</cell><cell></cell><row id='q_181_3' ><cell>asds</cell><cell></cell></row> <row id='q_224_3' ><cell>text 3</cell><cell></cell></row> <row id='tb_95_3' ><cell>Inner One to Many Test</cell><cell></cell><row id='q_220_3' ><cell>Inner UI</cell><cell></cell><row id='q_221_3' ><cell>Number</cell><cell></cell></row> </row> </row> </row> </row> </row> </rows> now here is the code we are using to get the data out and into a string: <cffile action="read" file="#xmlPath#" variable="xmlString"> then if we try to cfoutput the xmlString variable it displays this result: QuestionsTextsssss Number One to Many Testasdsgasgasasds text 3 Inner One to Many TestInner UINumber asdsasdadaasds text 3 Inner One to Many TestInner UINumber asdsasds text 3 Inner One to Many TestInner UINumber but we need it to come out exactly as it is in the document with the cell tags etc... we have even tried it as a txt file instead of a xml file but it still produces the same results. does anyone have any idea on how we can do this thanks very much richard ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:299194 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

