Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

How to? Create XML files

samintz

Scott Mintz
May
1,590
27
Does anyone have a plugin to create an XML file? The built-in XML functions for reading work great. But I have a need to create a file.

I have a VBScript application that does the following and I'd like to be able to do it in TCC:
Code:
var tests = CreateXml();
var parent = AppendNewParentElement(tests, tests, "Tests");
parent.setAttribute("Results", "UnitTestResults.xml");
parent.setAttribute("CurrentLevel", "Unit");
parent.setAttribute("ChildLevel", "Solution");
var test = AppendNewElement(tests, parent, "Test");
test.setAttribute("Results", testResultsPath);
test.setAttribute("Name", solutionName);
tests.save("Tests.xml");
 
Back
Top
[FOX] Ultimate Translator
Translate