View Single Post
  #3 (permalink)  
Old March 7th, 2009, 09:32 AM
grotgod grotgod is offline
Registered User
 
Join Date: Mar 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default RE: Using ASP classic filesystem object to retrieve a xml file turns.....

Thanks for the pointers Philip.

Quote:
All I can think is that the file, or possibly your browser, is in some sort of unicode encoding, which may look fine in Notepad but cause problems in the browser.
Good point, but the actual code I use writes the xml file back to the server after making a couple of changes, so in the normal runtime environment it is'nt outputed to the screen.

I checked both files (the file existing on the server and the one created by writing it through the filesystem object) in Dreamweaver and this is how they look.

Basically this:

Code:
<CONFIG>
<TITLE name="Dogs - Abnormal Behaviour - Normal Behaviour"><![CDATA[Introduction Here
]]></TITLE>
<MOVIE url="flashvideo/1.flv" autoplay="true" />
<DATA>
<TEXTS s="0" t="Dogs - problem behaviour - normal behaviour" imgurl="fslides/slide1.jpg" ><![CDATA[Introduction Here
]]></TEXTS>
<TEXTS s="21.239" t="What are dogs designed to do?" imgurl="fslides/slide2.jpg" ><![CDATA[Introduction Here
]]></TEXTS>
<TEXTS s="33.13" t="Species responses" imgurl="fslides/slide3.jpg" ><![CDATA[Introduction Here
]]></TEXTS>
<TEXTS s="62.898" t="Behaviour of the dogs ancestors" imgurl="fslides/slide4.jpg" ><![CDATA[Introduction Here
]]></TEXTS>
<TEXTS s="142.767" t="Influences on behaviour" imgurl="fslides/slide5.jpg" ><![CDATA[Introduction Here
]]></TEXTS>
<TEXTS s="173.623" t="Feeling safe" imgurl="fslides/slide6.jpg" ><![CDATA[Introduction Here
]]></TEXTS>
<TEXTS s="244.832" t="Acquiring food" imgurl="fslides/slide7.jpg" ><![CDATA[Introduction Here
]]></TEXTS>
<TEXTS s="349.48" t="Acquiring food" imgurl="fslides/slide8.jpg" ><![CDATA[Introduction Here
]]></TEXTS>
<TEXTS s="431.637" t="Acquiring food" imgurl="fslides/slide9.jpg" ><![CDATA[Introduction Here
]]></TEXTS>
<TEXTS s="505.864" t="Acquiring food" imgurl="fslides/slide10.jpg" ><![CDATA[Introduction Here
]]></TEXTS>
<TEXTS s="597.079" t="Reproduction" imgurl="fslides/slide11.jpg" ><![CDATA[Introduction Here
]]></TEXTS>
<TEXTS s="705.008" t="Social contacts" imgurl="fslides/slide12.jpg" ><![CDATA[Introduction Here
]]></TEXTS>
<TEXTS s="826.689" t="Further influences on behaviour" imgurl="fslides/slide13.jpg" ><![CDATA[Introduction Here
]]></TEXTS>
<TEXTS s="899.154" t="Summary" imgurl="fslides/slide14.jpg" ><![CDATA[Introduction Here
]]></TEXTS>
</DATA>
</CONFIG>
Becomes this:

Code:
<CONFIG>
਍ऀ㰀吀䤀吀䰀䔀 渀愀洀攀㴀∀䐀漀最猀 ⴀ 䄀戀渀漀爀洀愀氀 䈀攀栀愀瘀椀漀甀爀 ⴀ 一漀爀洀愀氀  䈀攀栀愀瘀椀漀甀爀∀㸀㰀℀嬀䌀䐀䄀吀䄀嬀䤀渀琀爀漀搀甀挀琀椀漀渀 䠀攀爀攀㰀戀爀㸀崀崀㸀㰀⼀吀䤀吀䰀 䔀㸀ഀഀ
<MOVIE url="flashvideo/1.flv" autoplay="true" />
਍ऀ㰀䐀䄀吀䄀㸀ഀഀ
XTS>
਍ऀऀ㰀吀䔀堀吀匀 猀㴀∀㈀㄀⸀㈀㌀㤀∀ 琀㴀∀圀栀愀琀 愀爀攀 搀漀最猀 搀攀猀椀最渀攀搀 琀漀  搀漀㼀∀ 椀洀最甀爀氀㴀∀昀猀氀椀搀攀猀⼀猀氀椀搀攀㈀⸀樀瀀最∀ 㸀㰀℀嬀䌀䐀䄀吀䄀嬀䤀渀琀爀漀搀甀 挀琀椀漀渀 䠀攀爀攀㰀戀爀㸀崀崀㸀㰀⼀吀䔀堀吀匀㸀ഀഀ
<TEXTS s="33.13" t="Species responses" imgurl="fslides/slide3.jpg" ><![CDATA[Introduction Here
]]></TEXTS>
਍ऀऀ㰀吀䔀堀吀匀 猀㴀∀㘀㈀⸀㠀㤀㠀∀ 琀㴀∀䈀攀栀愀瘀椀漀甀爀 漀昀 琀栀攀 搀漀最猀 愀渀挀攀 猀琀漀爀猀∀ 椀洀最甀爀氀㴀∀昀猀氀椀搀攀猀⼀猀氀椀搀攀㐀⸀樀瀀最∀ 㸀㰀℀嬀䌀䐀䄀吀䄀嬀䤀渀琀爀漀 搀甀挀琀椀漀渀 䠀攀爀攀㰀戀爀㸀崀崀㸀㰀⼀吀䔀堀吀匀㸀ഀഀ
<TEXTS s="142.767" t="Influences on behaviour" imgurl="fslides/slide5.jpg" ><![CDATA[Introduction Here
]]></TEXTS>
਍ऀऀ㰀吀䔀堀吀匀 猀㴀∀㄀㜀㌀⸀㘀㈀㌀∀ 琀㴀∀䘀攀攀氀椀渀最 猀愀昀攀∀ 椀洀最甀爀氀㴀∀昀猀氀 椀搀攀猀⼀猀氀椀搀攀㘀⸀樀瀀最∀ 㸀㰀℀嬀䌀䐀䄀吀䄀嬀䤀渀琀爀漀搀甀挀琀椀漀渀 䠀攀爀攀㰀戀爀㸀崀崀 㸀㰀⼀吀䔀堀吀匀㸀ഀഀ
<TEXTS s="244.832" t="Acquiring food" imgurl="fslides/slide7.jpg" ><![CDATA[Introduction Here
]]></TEXTS>
਍ऀऀ㰀吀䔀堀吀匀 猀㴀∀㌀㐀㤀⸀㐀㠀∀ 琀㴀∀䄀挀焀甀椀爀椀渀最 昀漀漀搀∀ 椀洀最甀爀氀㴀∀昀猀 氀椀搀攀猀⼀猀氀椀搀攀㠀⸀樀瀀最∀ 㸀㰀℀嬀䌀䐀䄀吀䄀嬀䤀渀琀爀漀搀甀挀琀椀漀渀 䠀攀爀攀㰀戀爀㸀崀 崀㸀㰀⼀吀䔀堀吀匀㸀ഀഀ
<TEXTS s="431.637" t="Acquiring food" imgurl="fslides/slide9.jpg" ><![CDATA[Introduction Here
]]></TEXTS>
਍ऀऀ㰀吀䔀堀吀匀 猀㴀∀㔀 㔀⸀㠀㘀㐀∀ 琀㴀∀䄀挀焀甀椀爀椀渀最 昀漀漀搀∀ 椀洀最甀爀氀㴀∀昀 猀氀椀搀攀猀⼀猀氀椀搀攀㄀ ⸀樀瀀最∀ 㸀㰀℀嬀䌀䐀䄀吀䄀嬀䤀渀琀爀漀搀甀挀琀椀漀渀 䠀攀爀攀㰀戀爀 㸀崀崀㸀㰀⼀吀䔀堀吀匀㸀ഀഀ
<TEXTS s="597.079" t="Reproduction" imgurl="fslides/slide11.jpg" ><![CDATA[Introduction Here
]]></TEXTS>
਍ऀऀ㰀吀䔀堀吀匀 猀㴀∀㜀 㔀⸀  㠀∀ 琀㴀∀匀漀挀椀愀氀 挀漀渀琀愀挀琀猀∀ 椀洀最甀爀氀㴀∀ 昀猀氀椀搀攀猀⼀猀氀椀搀攀㄀㈀⸀樀瀀最∀ 㸀㰀℀嬀䌀䐀䄀吀䄀嬀䤀渀琀爀漀搀甀挀琀椀漀渀 䠀攀爀攀㰀戀 爀㸀崀崀㸀㰀⼀吀䔀堀吀匀㸀ഀഀ
<TEXTS s="826.689" t="Further influences on behaviour" imgurl="fslides/slide13.jpg" ><![CDATA[Introduction Here
]]></TEXTS>
਍ऀऀ㰀吀䔀堀吀匀 猀㴀∀㠀㤀㤀⸀㄀㔀㐀∀ 琀㴀∀匀甀洀洀愀爀礀∀ 椀洀最甀爀氀㴀∀昀猀氀椀搀攀猀⼀ 猀氀椀搀攀㄀㐀⸀樀瀀最∀ 㸀㰀℀嬀䌀䐀䄀吀䄀嬀䤀渀琀爀漀搀甀挀琀椀漀渀 䠀攀爀攀㰀戀爀㸀崀崀㸀㰀⼀吀 䔀堀吀匀㸀ഀഀ
</DATA>
਍㰀⼀䌀伀一䘀䤀䜀㸀ഀഀ
਍
Amazing is'nt it?
Reply With Quote