pfx-xml:unmarshal

Unmarshals XML string into an internal object.

Properties

No properties.

Examples

Unmarshal XML into internal object

XML
<route>
  <from uri="timer:testSFDC?repeatCount=1"/>
  <setBody><constant>"<root><prop1>10</prop1><prop2>15</prop2></root>"</constant></setBody>
  <to uri="pfx-xml:marshal"/>
</route>

Result (internal object):

[prop1: 10, prop2: 15]