Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
<endpoint-folder>
...
<parameter name="foo"/>
<parameter name="long"/>
...
</endpoint-folder><parameter name="foo"/>${foo}<!-- Data source definition -->
<data-source>
<literal-xml>
<any-tag/>
</literal-xml>
</data-source><!-- Generated XML -->
<transformation-input>
<any-tag/>
</transformation-input><!-- Data source definition -->
<data-source>
<literal-xml>
<any-tag>${foo}</any-tag>
</literal-xml>
</data-source><!-- Generated XML -->
<transformation-input>
<any-tag>hello world</any-tag>
</transformation-input><!-- Definition of data source -->
<data-source>
<parameters/>
</data-source><!-- Data generated by the data source -->
<transformation-input>
<parameters>
<parameter name="foo" value="abc"/>
<parameter name="long" value="def"/>
</parameters>
</transformation-input><!-- Data generated by the data source -->
<transformation-input>
<parameters>
<parameter name="foo" value="abc"/>
<file-upload field-name="bar" upload-filename="foo.xml">
<xyz>
<!-- whatever is in uploaded file -->
</xyz>
</file-upload>
<parameter name="long" value="def"/>
</parameters>
</transformation-input><!-- Data generated by the data source -->
<transformation-input>
<parameters>
<parameter name="foo" value="abc"/>
<file-upload field-name="photo" upload-filename="photo.jpg"/>
<parameter name="long" value="def"/>
</parameters>
</transformation-input><!-- Data generated by the data source -->
<transformation-input>
<parameters>
...
<intermediate-value name="xyz" value="something"/>
...
</parameters>
</transformation-input><!-- Definition of data source -->
<data-source tag="my-new-root-tag">
<parameters/>
</data-source><aws-s3-object key="folder/foo.xml"/><aws-s3-object key="folder/foo.xml">
... file contents (XML) ...
</aws-s3-object><aws-s3-keys limit="100">
<folder>foo/bar</folder> <!-- optional -->
<match-tag name="foo">bar</match-tag>
<match-tag name="abc">def</match-tag>
</aws-s3-keys><aws-s3-keys>
<object key="folder/xyz.xml"/>
...
</aws-s3-keys><!-- Data source definition -->
<data-source>
<xml-from-application
file="path-to-xml-file-in-xml-from-appication-directory"/>
</data-source><!-- Data source definition -->
<data-source>
<xml-from-application file="${some-parameter}.xml"/>
</data-source><!-- Data source definition -->
<data-source>
<xml-from-application file="${some-parameter}.xml"
ignore-if-not-found="true"/>
</data-source><td> are inspected to see if they look like a number, in which case an Excel "number cell" is produced, otherwise an Excel "text cell" is produced.<transformer data-source="[name-of-data-source]"/><transformer data-source="[name-of-data-source]">
<xslt-file name="[path-to-xslt-with-output-type-xml]"/>
<content-type type="text/xml"/>
</transformer><transformer data-source="[name-of-data-source]">
<xslt-file name="[path-to-xslt-with-output-type-html]"/>
<content-type type="text/html"/>
</transformer><transformer data-source="[name-of-data-source]">
<xslt-file name="[path-to-xsl-fo-file]"/>
<convert-output-xsl-fo-to-pdf/>
</transformer><transformer data-source="[name-of-data-source]">
<xslt-file name="[path-to-xslt-with-output-type-xml]"/>
<convert-output-xml-to-json/>
</transformer><transformer data-source="[name-of-data-source]">
<xslt-file name="[path-to-xslt-with-output-type-text]"/>
<content-type type="application/json"/>
</transformer><transformer data-source="[name-of-data-source]">
<xslt-file name="[path-to-xslt-with-output-type-text]"/>
</transformer><transformer data-source="[name-of-data-source]">
<xslt-file name="[path-to-xslt-with-output-type-html]"/>
<convert-output-xml-to-excel/>
</transformer><transformer data-source="[name-of-data-source]">
<xslt-file name="[path-to-xslt-with-output-type-text]"/>
<content-type type="application/doc"/>
</transformer><xsl:stylesheet>
<xsl:param name="foo"/>
...
</xsl:stylesheet><transformer data-source="...">
<xslt-file name=".."/>
...
<!-- zero or many placeholder-values -->
<placeholder-value placeholder-name="foo" value="some value"/>
</transformer><transformer data-source="spheres-fo">
<write-input-to-aws-s3>
<folder>foo/bar</folder> <!-- optional -->
<tag name="foo">bar</tag>
<tag name="abc">def</tag>
</write-input-to-aws-s3>
...
<write-output-to-aws-s3>
...
</write-output-to-aws-s3>
</transformer><data-source>
<xml-from-url>
<!-- mandatory -->
<url>http://www.google.com/foo/${variable}</url>
<!-- optional, default GET -->
<method name="POST"/>
<!-- zero or more -->
<get-parameter name="foo">${variable}</get-parameter>
<!-- zero or more -->
<request-header name="foo">${variable}</request-header>
<!-- optional -->
<basic-access-authentication username="${variable}" password="${variable}"/>
<!-- either one <xml-body>, or <json-body>, or neither -->
<json-body>...</json-body>
</xml-from-url>
<data-source><xml-from-url>
...
<xml-body>
<your-tag>${parameter}</your-tag>
</xml-body>
...
</xml-from-url><!-- Data source definition -->
<xml-from-url>
...
<xml-body xslt-file="foo.xslt"/>
...
</xml-from-url><!-- Input to XSLT processing to build HTTP request body -->
<parameters>
<parameter name="foo" value="abc"/>
<parameter name="long" employees="def"/>
...
</parameters><!-- Data source definition -->
<xml-from-url>
...
<json-body>
{"json": {
"key": "${foo}"
},
...
}
</json-body>
...
</xml-from-url><!-- Data source definition -->
<xml-from-url>
...
<json-body xslt-file="foo.xslt"/>
...
</xml-from-url><!-- Data source definition -->
<data-source>
<xml-from-url tag="my-new-root-tag">
...
</xml-from-url>
<data-source><data-source>
<on-demand-incrementing-number type="month"/>
</data-source><data-source-post-processing-input>
<any-xml/>
</data-source-post-processing-input><data-source-post-processing-output>
<any-xml/>
</data-source-post-processing-output><data-source>
<xml-from-database>
...
<post-process xslt="file-a.xslt"/>
</xml-from-database>
<xml-from-url ignore-if-error="true">
...
<post-process xslt="file-b.xslt"/>
</xml-from-url>
<application-introspection>
<post-process xslt="file-c.xslt"/>
</application-introspection>
<!--post-processing applied on the complete set of all content-sources-->
<post-process xslt="file-X.xslt"/>
<post-process xslt="file-Y.xslt"/>
<post-process xslt="file-Z.xslt"/>
</data-source><data-source>
<xml-from-database>
<jdbc-connection-string from-environment-variable="MY_ENV_VAR"/>
<sql>SELECT * FROM request_log WHERE request_id=?::uuid</sql>
<param>${SEARCH_REQUEST_ID}</param>
</xml-from-database>
</data-source><!-- Generated output -->
<transformation-input>
<xml-from-database>
<row>
<name-of-column-1>xxx</name-of-column-1>
<name-of-column-2>xxx</name-of-column-2>
<name-of-column-3>xxx</name-of-column-3>
</row>
<row>
<name-of-column-1>xxx</name-of-column-1>
<name-of-column-2>xxx</name-of-column-2>
<name-of-column-3>xxx</name-of-column-3>
</row>
</xml-from-database>
</transformation-input><!-- Data source definition -->
<data-source>
<xml-from-database tag="my-new-root-tag">
...
</xml-from-database>
</data-source><data-source>
... data-source 1 ...
... data-source 2 ...
... data-source n ...
</data-source><transformation-input>
... result of data-source 1
... result of data-source 2
... result of data-source n
</transformation-input><transformer data-source="name-of-data-source">
<xslt-file name="path-to-xslt"/>
</transformer>
