We found 5 matches for: xml

An overview of all xml blocks currently available, updated daily!

Object: parse xml

Parses an XML string into an object with XML attributed data

In-pins

XML
normalize
Transforms the keys to lowercase

Default:
false
strip prefix
Strips the xml namespace prefix from the keys

Default:
false
parse numbers
Parses integer-like strings and float-like strings as floats

Default:
false
parse booleans
Parses boolean-like strings to booleans

Default:
false

Out-pins

object
success
error
XML: from object

In-pins

flow
XML Root Tag
The root tag entity of the XML to build (e.g. "user")
data
Data to build XML from, you could use "@" keys to add attributes.

Out-pins

flow
success
Returns true if we could build XML from given object
XML
If succeeded, returns the XML output as value
error
If not succeeded, returns the error while building XML
response: reply with xml from json

In-pins

flow
connection
code
HTTP status code to return on this response.

Default:
200
type
Sets the Content-Type HTTP header.

Default:
text/xml
Headers
Custom HTTP Headers to set, Array of Objects [{ key: Value, value: Value }]
XML Root
data

Out-pins

flow
connection
response: reply with xml

In-pins

flow
connection
code
HTTP status code to return on this response.

Default:
200
type
Sets the Content-Type HTTP header.

Default:
text/xml
Headers
Custom HTTP Headers to set, Array of Objects [{ key: Value, value: Value }]
xml

Out-pins

flow
connection
file: parse xml

Parse an XML file into an object with XML attributed data

In-pins

flow
file
normalize
Transforms the keys to lowercase

Default:
false
strip prefix
Strips the xml namespace prefix from the keys

Default:
false
parse numbers
Parses integer-like strings and float-like strings as floats

Default:
false
parse booleans
Parses boolean-like strings to booleans

Default:
false

Out-pins

flow
object
success
error