dbTalk Databases Forums  

DSO/XML convertion text files

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss DSO/XML convertion text files in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Jerome
 
Posts: n/a

Default DSO/XML convertion text files - 03-08-2005 , 03:37 AM






Hi,

I create an XML-file with a vb-script containing an AS
database. This file I load in the dso/xml console.

This works great as long as I copy all the content of my
textfile into and replace all the content of a generated
file from DSO/XML convertion utility. But if I try to use
my file direct with the dso/xml console nothing happens.

If start "my" XML-file with IE there is an errormessage
and no text shows up, but if I replace the content of a
generated file it shows up in a coorect and structured way.

I create my file with VbS:
Set objFSObject = CreateObject
("Scripting.FileSystemObject")
Set objFile = objFSObject.CreateTextFile("dso.xml", 8,
True)

/Jerome

Reply With Quote
  #2  
Old   
jerome
 
Posts: n/a

Default DSO/XML convertion text files - 03-11-2005 , 05:59 AM






The problem was that I had wrong parameters to
CreateTextFile. It gave a unicode textfile, not ascii.

/J

Quote:
-----Original Message-----
Hi,

I create an XML-file with a vb-script containing an AS
database. This file I load in the dso/xml console.

This works great as long as I copy all the content of my
textfile into and replace all the content of a generated
file from DSO/XML convertion utility. But if I try to
use
my file direct with the dso/xml console nothing happens.

If start "my" XML-file with IE there is an errormessage
and no text shows up, but if I replace the content of a
generated file it shows up in a coorect and structured
way.

I create my file with VbS:
Set objFSObject = CreateObject
("Scripting.FileSystemObject")
Set objFile = objFSObject.CreateTextFile("dso.xml", 8,
True)

/Jerome
.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.