Using Variables Using Native Schema Constructs

6-36 Oracle Fusion Middleware Users Guide for Technology Adapters element name=Address type=string nxsd:style=terminated nxsd:terminatedBy={var1} nxsd:quotedBy=quot; element name=DOB type=string nxsd:style=terminated nxsd:terminatedBy={var2} nxsd:quotedBy= element name=Telephone1 type=string nxsd:style=terminated nxsd:terminatedBy={eol} nxsd:quotedBy= element name=Telephone2 type=string nxsd:style=terminated nxsd:terminatedBy={eol} nxsd:quotedBy= element name=Telephone3 type=string nxsd:style=terminated nxsd:terminatedBy={eol} nxsd:quotedBy= sequence complexType element schema Translated XML Using the Native Schema: variable xmlns=http:xmlns.oracle.compcbpelnxsdsmoketest delims,;delims PersonNameFredPersonName Address2 Old Street, Old Town,ManchesterAddress DOB20-08-1954DOB Telephone10161-499-1718Telephone1 Telephone2phone-2Telephone2 Telephone3phone-3Telephone3 variable

6.2.2.9 Defining Prefixes and Suffixes

In native format, when data is read, the specified data is prefixed, suffixed, or both, as shown in the following example. Native Data to Be Translated: Fred, 2 Old Street, Old Town,Manchester,20-08-1954,0161-499-1718 Native Schema: ?xml version=1.0 encoding=US-ASCII? schema xmlns=http:www.w3.org2001XMLSchema xmlns:nxsd=http:xmlns.oracle.compcbpelnxsd targetNamespace=http:xmlns.oracle.compcbpelnxsdsmoketest elementFormDefault=qualified attributeFormDefault=unqualified nxsd:stream=chars nxsd:version=NXSD element name=terminated complexType sequence element name=PersonName type=string nxsd:prefixWith=Mr. nxsd:style=terminated nxsd:terminatedBy=, nxsd:quotedBy=quot; element name=Address type=string nxsd:suffixWith=]] nxsd:prefixWith=[[ nxsd:style=terminated nxsd:terminatedBy=, nxsd:quotedBy=quot; element name=DOB type=string nxsd:style=terminated nxsd:terminatedBy=, nxsd:quotedBy= element name=Telephone type=string nxsd:style=terminated nxsd:terminatedBy={eol} nxsd:quotedBy= Native Format Builder Wizard 6-37 sequence complexType element schema Translated XML Using the Native Schema: terminated xmlns=http:xmlns.oracle.compcbpelnxsdsmoketest PersonNameMr.FredPersonName Address[[2 Old Street, Old Town,Manchester]]Address DOB20-08-1954DOB Telephone0161-499-1718Telephone terminated

6.2.2.10 Defining Skipping Data

Translator skips, before or after the data is read, depending on the skipMode construct, as shown in the following example: Native Data to Be Translated: Fred, 2 Old Street, Old Town,Manchester,20-08-1954,0161-499-1718 Native Schema: ?xml version=1.0 encoding=US-ASCII? schema xmlns=http:www.w3.org2001XMLSchema xmlns:nxsd=http:xmlns.oracle.compcbpelnxsd targetNamespace=http:xmlns.oracle.compcbpelnxsdsmoketest elementFormDefault=qualified attributeFormDefault=unqualified nxsd:stream=chars nxsd:version=NXSD element name=terminated complexType sequence element name=PersonName type=string nxsd:skip=5 nxsd:style=terminated nxsd:terminatedBy=, nxsd:quotedBy=quot; element name=Address type=string nxsd:skipMode=before nxsd:skip=3 nxsd:style=terminated nxsd:terminatedBy=, nxsd:quotedBy=quot; element name=DOB type=string nxsd:skipMode=after nxsd:skip=6 nxsd:style=terminated nxsd:terminatedBy=, nxsd:quotedBy= element name=Telephone type=string nxsd:style=terminated nxsd:terminatedBy={eol} nxsd:quotedBy= sequence complexType element schema Translated XML Using Native Schema: terminated xmlns=http:xmlns.oracle.compcbpelnxsdsmoketest PersonNameFredPersonName Address2 Old Street, Old Town,ManchesterAddress