• DOCUMENTATION
  • WORKATO BLOG
  • PRODUCT BLOG
  • Return to Workato
  • Log in
  • ☰
  • Community/Discussions
Solution home App Resources HTTP

HTTP: XML: How to Parse Data as a Number (Integer), and Other Data Types

Modified on: Thu, Dec 22, 2016 at 9:00 AM

Sometimes, we need to parse XML data into types other than a string, such as when we need to sum values together to find a total number.

Depending on your action (examples: HTTP Request, or Parse XML Document), you will have to change either your Sample document or Response body example. Simply add type="{desired type}" to the necessary field.

For example:  

<number>123</number>

 might become

<number type="integer">123</number>

Workato currently supports parsing XML by integer, boolean, datetime, and date.


Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.

Related Articles

    Still can't find your solution?

    Visit our forums to search for answers, or post your own questions.

    Documentation
    Developer's Library
    Tutorials
    eBooks
    Product Hour
    Product Blog
    Workato Blog
    Product updates
    Customer Stories
    © Workato 2020   Privacy   Terms   +1 (844) 469-6752
    • Documentation
    • Workato Blog
    • Product Blog
    • Solutions
    • Forums
    • Tickets
    • Log in
    • Return to Workato