You have no favorites... yet!
Use the Library tree on the left to select a Choreo to call from your gateway device.
Use the Library tree on the left to select a Choreo to call from your edge device via the gateway.
Library . Utilities . DataConversions . XMLToCSV
Converts an XML file to CSV format.
/*
TembooTask class placeholder
*/
/*
TembooTask header placeholder
*/
Since you've changed your device configuration, you'll need to tell us about this new device.
This feature is in experimental mode - pricing coming soon.
Send your code straight to a GitHub repository.
Your code will be visible by others in your repos. Keep credentials private by saving a Profile or commit code with Placeholder inputs.
The following files will be added to this repo:
You'll be able to edit and share your code from TI's CCS Cloud IDE.
The following will be sent to CCS Cloud:
/*
Your auto-generated code will appear here once you've configured your device above.
*/
/*
A header file containing your Temboo account information will appear here once you've
configured your device above.
*/
/*
Please log in to generate proxy server code for use with the JavaScript SDK.
*/
This Choreo converts an XML file to CSV format.
Note: The XML for this type of conversion needs to be relatively flat XML so that it can translate to rows and columns nicely.
When converting XML that is in '/rowset/row/column_name' format, you can simply pass your data to the XML input. Here are some examples of XML that can be converted:
XML:
<rowset> <row> <first_name>Stan</first_name> <last_name>Johnson</last_name> <email>stan@temboo.com</email> </row> <row> <first_name>Lucy</first_name> <last_name>Smith</last_name> <email>lucy@temboo.com</email> </row> </rowset>
The following is a sample of the CSV data returned using the above XML input:
first_name,last_name,email Stan,Johnson,stan@temboo.com Lucy,Smith,lucy@temboo.com
It's also possible to specify a XPATH-like path when your XML schema is not in '/rowset/row/column_name' format. For example, if your XML looks like this:
<ListInventorySupplyResponse> <ListInventorySupplyResult> <InventorySupplyList> <member> <SellerSKU>SampleSKU1</SellerSKU> <ASIN>B00000K3CQ</ASIN> <TotalSupplyQuantity>20</TotalSupplyQuantity> <FNSKU>X0000000FM</FNSKU> <Condition>NewItem</Condition> <InStockSupplyQuantity>15</InStockSupplyQuantity> </member> <member> <SellerSKU>SampleSKU2</SellerSKU> <ASIN>B00004RWQR</ASIN> <TotalSupplyQuantity>0</TotalSupplyQuantity> <FNSKU>X00008FZR1</FNSKU> <Condition>UsedLikeNew</Condition> <InStockSupplyQuantity>0</InStockSupplyQuantity> </member> </InventorySupplyList> </ListInventorySupplyResult> <ResponseMetadata> <RequestId>e8698ffa-8e59-11df-9acb-230ae7a8b736</RequestId> </ResponseMetadata> </ListInventorySupplyResponse>
You can specify a path input:
Path: ListInventorySupplyResponse/ListInventorySupplyResult/InventorySupplyList/member
and the resulting CSV file will be:
SellerSKU,ASIN,TotalSupplyQuantity,FNSKU,Condition,InStockSupplyQuantity SampleSKU1,B00000K3CQ,20,X0000000FM,NewItem,15 SampleSKU2,B00004RWQR,0,X00008FZR1,UsedLikeNew,0
https://ACCOUNT_NAME.temboolive.com/callback/google
© 2025 Temboo, Inc Privacy Terms