Skip to main content
Version: 4.17.11

Form to XML component

The Form to XML component allows direct conversion from the Form URL-encoded format to XML. This component can be used, for example, when submitting an HTML form to a flow.

Configuration​

At the moment, there are no configuration parameters.

empty values

This component supports empty values for a given key.

key names cannot:
  • Start with a digit.
  • Start with special characters such as hyphens or periods.
  • Start with any variation of xml.
  • Contain special characters other than the periods, hyphens, underscores and/or colons.
use UTF-8 encoding

Please use UTF-8 encoding for the incoming message. Add an Encoder component before the FLV component to change the encoding of the incoming message to UTF-8. You can add an Encoder component after the Form to XML component to change it back to its original encoding if necessary.

Using FLV​

Conversion with valid data​

See the example below for a conversion with complete and valid form data.

first-name=Joe&last-name=Foo&age=21

Conversion with invalid or missing data​

See the example below for a conversion with incomplete and invalid form data.

first-name=John&last-name=&age=25&991=porsche

In this case, last-name will have no value and the invalid parameter named 911 will be ignored.

Last update on Feb 24, 2025