Ciao,
l'XML Out Unit restituisce sul Link in uscita un xml Document. Per ottenere fisicamente sul file system il file xml si può usare una Script Unit che prende in ingresso il Document e salva il file.
Hi,
the XML Out Unit returns an xml Document by the outgoing Link. In order to obtain the file on the file system you can use a Script Unit, it takes in input the Document and saves the file.
Ad esempio / For example:
#input Document myXML
import org.apache.commons.io.FileUtils;
String uploadDir = rtx.getUploadDirectory(); // default upload directory
File myXMLDoc = new File(uploadDir +"\\myXMLDoc.xml");
myXMLDoc.createNewFile();
FileUtils.writeStringToFile(myXMLDoc, myXML.asXML())