Marc Davis
asked on
Create an XML file from VBS?
What is the manner in which a .xml file is created in VBS?
Any assistance is greatly appreciated.
Any assistance is greatly appreciated.
ASKER
I want to create it from scratch. Not from a recordset or csv file or anything like that. I want to create something from scratch. The source may be different values from different places.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
resulting xml looked like
<?xml version="1.0" ?>
<catalog>
<book id="bk1">
<author>This is an Author</author>
<title>Books books books</title>
<genre>Technical Writing</genre>
<price>$9.95</price>
<publish_date>Librarian books</publish_date>
<description>This is a book about books</description>
</book>
</catalog>
<?xml version="1.0" ?>
<catalog>
<book id="bk1">
<author>This is an Author</author>
<title>Books books books</title>
<genre>Technical Writing</genre>
<price>$9.95</price>
<publish_date>Librarian books</publish_date>
<description>This is a book about books</description>
</book>
</catalog>
this was answered by me
really depends where your data is coming from, i didn't look into it but there is a sample script here to convert csv to xml using vbs
source: http://www.jdhitsolutions.com/resources/scripts/ConvertCSVtoXML.txt
just comment if you have comments on this, i did a xml to csv using xsl script and was looking for the other way around which looked pretty difficult
hope this helps a bit
bruintje