Does Adobe hate xml tags that start with an underscore? <_TYPE_>
I am trying to generate XMl document using a template and filling in values using CF. There are 4 nodes that start with an underscore (which i cannot change due to where the XML is being used)
<_ASSET_>Media_C<_ASSET_>
<_ITEMNAME_>#videoURL#<_ITEMNAME_>
<_TYPE_>YouTube<_TYPE_>
<_ITEMDESCRIPTION_><![CDATA[#title#]]><_ITEMDESCRIPTION_>
<_GROUP_Media_Parent>Pressreleases<_GROUP_Media_Parent>
First weird thing was when I tried to close the nodes in Dreamweaver, then save it and reopen it, DW removed them again and again...So I edited in NotePad, which kept them there...
However when i ran the script in ColdFusion, it removed them again.
Here is my code.
<cfoutput query="videoData">
<cfsavecontent variable="theXML"><?xml version="1.0" encoding="ISO-8859-1" ?>
<document>
<_ASSET_>Media_C</_ASSET_>
<_ITEMNAME_>#videoURL#</_ITEMNAME_>
<_TYPE_>YouTube</_TYPE_>
<_ITEMDESCRIPTION_><![CDATA[#title#]]></_ITEMDESCRIPTION_>
<_GROUP_Media_Parent>Pressreleases</_GROUP_Media_Parent>
<youtube_url>#videoURL#</youtube_url>
<media_height>265</media_height>
<media_width>320</media_width>
<media_text_equivalent></media_text_equivalent>
<media_title></media_title>
<media_author></media_author>
<media_date></media_date>
<media_thumbnail></media_thumbnail>
<media_duration></media_duration>
<media_summary></media_summary>
<video_keywords></video_keywords>
<video_closed_captions></video_closed_captions>
<video_audio_description></video_audio_description>
</document>
</cfsavecontent>
<cffile action = "write" output="#theXML#" file = "E:\Inetpub\wwwroot\prmc\XMLPorter\completed\newsroom\video\#videoURL#.xml">
</cfoutput>
I assume it has something to do with the underscore...but what? All the rest of the nodes stay closed and DW/CF has no issue with them..
Any ideas on how to get the end nodes closed off for good at generation?
