cancel
Showing results for 
Search instead for 
Did you mean: 

An XML Generator & XML Formatter Snaps example

lkummari
Former Employee

Here’s an example illustrating the use case of the snaps XML Generator, XML formatter and File writer.

The 1st snap “XML Generator” of the pipeline generates a document format data with the given xml input configured in the snap on “Edit XML *” in snap settings.
69ace3e39f06b336be95e00a2601d0a9581ae86d.png

The 2nd snap “XML Formatter” accepts the document format and encapsulates the data into XML formates and provides the the binary output which can be an input to the File writer snap which accepts the binary input.

8783a030a3f7405a6e1b1cf59cc40c8115fb592d.jpg

Attached is the .slp for pipeline reference.XMLGenerator_Formatter_2017_03_1.slp (4.1 KB)

1 REPLY 1

lkummari
Former Employee

Here’s an example of the XML parser to complete the XML transformation snaps.

The xml file is read in file reader snap and followed by XML parser snap which accepts the binary input and provide document output.

3489b5896fc4c7c6fa0f253759fc204bf1e87868.jpgXMLParser_CSV_Write_2017_03_11.slp (6.0 KB)