VBScript to output xml

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

draceplace

Thread Starter
Joined
Jun 8, 2001
Messages
2,583
I want to read a CSV file and write an xml file. I would like a simple example of how to write xml with vb (I can read the csv no problem) I keep finding example of how to load (existing) xml and traverse through it. Not what I want..

I'm a new to xml writing so I may be trying to short cut too much??
 

Ent

Josiah
Retired Trusted Advisor
Joined
Apr 11, 2009
Messages
5,467
Surely you could just use the normal string handling commands and treat XML as text. "<tagname>Content</tagname>"
 

draceplace

Thread Starter
Joined
Jun 8, 2001
Messages
2,583
Agreed and I'll probably end up doing that if I can't find and example of how to use the object from

CreateObject("Msxml2.DOMDocument.6.0")
or something. XML is really not 'line' based so I was hoping to do this with the DOM/COM stuff

Thanks for the reply
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Staff online

Members online

Top