...
Code Block | ||
---|---|---|
| ||
$Database.ExportToXml({ TargetSchema : 'MySchema', TargetTable : 'Accounts', XPath : 'Accounts/Account', // map values whose names are not identical to SQL column names Map : function (accountXml) { thisaccountXml.SetValue('Password = 'Enc:' + ', this.Password; // mark as encrypted); this.AccountType = accountXml.EvaluateSetValue('Type/Code'); // map values whose names are not identical to SQL column names, this.AccountType); } }); |
Example
Exporting database content into XML
...