<edi:unparser schemaUri="/edi-mapping-1p-response.dfdl.xsd" unparseOnNode="*" segmentTerminator="'" dataElementSeparator="+" compositeDataElementSeparator=":" escapeCharacter="?" repetitionSeparator="*" />
In the dfdl I defined the field in this way:
<xsd:element dfdl:initiator="CON" name="cont" minOccurs="0" maxOccurs="1" dfdl:ref="ibmEdiFmt:EDISegmentFormat">
<xsd:complexType>
<xsd:sequence dfdl:ref="ibmEdiFmt:EDISegmentSequenceFormat">
<xsd:element name="contactInformation" minOccurs="0" maxOccurs="5">
<xsd:complexType>
<xsd:sequence dfdl:ref="ibmEdiFmt:EDICompositeSequenceFormat">
<xsd:element name="partyQualifier" type="xsd:string" minOccurs="1" maxOccurs="1"/>
<xsd:element name="communicationNumber" type="xsd:string" minOccurs="1" maxOccurs="1"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
The edifact that is produced is:
CON+14:44 (0)141 611 7100+900:44 (0)141 611 7100
with + as separator, but what I should have is:
CON+14:44 (0)141 611 7100*900:44 (0)141 611 7100
How can I get it?
Is it possible to define a custom writer to achieve that?
Thanks in advance for your help,
Ser4ena
--
You received this message because you are subscribed to the Google Groups "Smooks Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to smooks-user...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/smooks-user/4a7f13cd-f185-4294-a98a-c03216734321n%40googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/smooks-user/CADvAAui%3DysuFhSH2iy_MKWXTnBBhOV-JoGzkDFZTMcPXHFj7%2BQ%40mail.gmail.com.