Dataset to XML String
Posted: Tue May 28, 2019 1:45 pm
Hi,
I have an XML dataset that I need to convert to a string (to write to a variable).
I can easily access the dataset with but I can find no method for converting it to a string.
I assume I have to write the dataset to a temporary text file then read that file, but I can't find a way to write the dataset to a text file.
Any suggestions?
Many thanks,
Pat
I have an XML dataset that I need to convert to a string (to write to a variable).
I can easily access the dataset with
Code: Select all
var jData = job.getDataset("Data");
I assume I have to write the dataset to a temporary text file then read that file, but I can't find a way to write the dataset to a text file.
Any suggestions?
Many thanks,
Pat