Share Link
Copied to clipboard
Embed on Your Page
Copied to clipboard
We Stand with Ukraine
Custom XML Root Options by csteele
Example 1
Example of a custom root element with any object:
<?xml version="1.0" encoding="utf-16"?><MyCustomRootName><Account><BillingAccountNumber>1122112</BillingAccountNumber></Account></MyCustomRootName>

Example 2
Example of a custom root element with custom first level element name:
<?xml version="1.0" encoding="utf-16"?><MyCustomRootName><MyCustomFirstLevelAttributeName><BillingAccountNumber>1122112</BillingAccountNumber></MyCustomFirstLevelAttributeName></MyCustomRootName>

Example 3
Example of a custom root element with custom first level element name and custom data:
<?xml version="1.0" encoding="utf-16"?><MyCustomRootName><MyCustomFirstLevelAttributeName><BillingAccountNumber>1122112</BillingAccountNumber></MyCustomFirstLevelAttributeName></MyCustomRootName>

Example 4
Example of a custom root element with custom first level element name and custom dynamic data:
<?xml version="1.0" encoding="utf-16"?><MyCustomRootName><MyCustomFirstLevelAttributeName><BillingAccountNumber>1212112</BillingAccountNumber><MoreInfo><SomeData>121</SomeData><DeepInfo><MoreData>4/15/2025 5:03:26 AM</MoreData></DeepInfo></MoreInfo></MyCustomFirstLevelAttributeName></MyCustomRootName>
Cached Result
Last Run: 8:03:25 am
Compile: 0.743s
Execute: 0.016s
Memory: 712kb
CPU: 0.406s