-
Notifications
You must be signed in to change notification settings - Fork 0
/
xml-to-edi-smooks-config.xml
29 lines (26 loc) · 1.04 KB
/
xml-to-edi-smooks-config.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?xml version="1.0"?>
<smooks-resource-list
xmlns="https://www.smooks.org/xsd/smooks-2.0.xsd"
xmlns:core="https://www.smooks.org/xsd/smooks/smooks-core-1.6.xsd"
xmlns:edi="https://www.smooks.org/xsd/smooks/edi-2.0.xsd">
<core:smooks filterSourceOn="/Order">
<core:action>
<core:inline>
<core:replace/>
</core:inline>
</core:action>
<core:config>
<smooks-resource-list>
<!-- Configure the writer to serialise the XML stream into EDI. -->
<edi:unparser schemaURI="edi-to-xml-order-mapping.dfdl.xsd"
segmentTerminator="%NL;"
compositeDataElementSeparator="^"
dataElementSeparator="*"
unparseOnNode="*"/>
</smooks-resource-list>
</core:config>
</core:smooks>
<core:exports>
<core:result type="org.smooks.io.payload.StringResult"/>
</core:exports>
</smooks-resource-list>