Commands & Syntax > Commands > Xml Parser >

File Save - < xml_file_save >() ... [Pro]

www.perfectkeyboard.com

 

XML File Save
<xml_file_save>(File handle variable,"File path")
Available in: Professional edition

This command saves an Xml file to disk.

 

#

Parameter name

Parameter description

1

File handle variable

Xml file handle - an Xml file identifier provided from "open xml" or "create xml" commands.

2

File path

Name (full path) of the file.

 

Example (Macro Steps):

 

1

<#> <#>This macro shows how to save a created Xml file

2

Macro execution: ONLY COMMANDS

3

XML File Create vXmlDoc, Root element handle variable = vXmlRoot,Password =

4

XML File Save "vXmlDoc" (File path = "c:\temp\newFile.xml")

5

XML File Close "vXmlDoc"

Example (Plain Text):

 

<#>This macro shows how to save a created Xml file

<cmds>

<xml_file_create>(vXmlDoc,vXmlRoot)

<xml_file_save>(vXmlDoc,"c:\temp\newFile.xml")

<xml_file_close>(vXmlDoc)