I'm trying to combine the content of the two xml files below together
FILE 1
<!DOCTYPE ArticleSet PUBLIC "test.dtd">
<AritcleGroup>
<ArticleSingle>
<title>HIV Treatment</title>
<title>Body of Article....</title>
</ArticleSingle>
</AritcleGroup>
FILE 2
<!DOCTYPE ArticleSet PUBLIC "test.dtd">
<AritcleGroup>
<ArticleSingle>
<title>Another article</title>
<title>Body of Article....</title>
</ArticleSingle>
</AritcleGroup>
Please see how the final file should like below, so I just need to get rid of
the <!Doctype....> and the <AritcleGroup> node in 2 and then merge right under
the </ArticleSingle> of file 1.
Final file
<!DOCTYPE ArticleSet PUBLIC "test.dtd">
<AritcleGroup>
<ArticleSingle>
<title>HIV Treatment</title>
<title>Body of Article....</title>
</ArticleSingle>
<ArticleSingle>
<title>Another article</title>
<title>Body of Article....</title>
</ArticleSingle>
</AritcleGroup>
I've tried using file append...won't work
<cffile action="append" output="#FileRead("file2")#" file="file1">
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:317835
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4