Defining Prefixes and Suffixes

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 6-38 Oracle Fusion Middleware Users Guide for Technology Adapters DOB20-08-1954DOB Telephone99-1718Telephone terminated

6.2.2.11 Defining fixed and default Values

When an element is declared without nxsd annotations but the value specified is either fixed or default, the translator uses the value provided and does not throw any exceptions. 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 annotation appinfo nxsd:variables nxsd:variable name=x value=hello nxsd:variables junkies junkies junkies appinfo annotation complexType sequence element name=PersonName type=string nxsd:style=terminated nxsd:terminatedBy=, nxsd:quotedBy=quot; element name=Age type=string fixed=16 element name=Address type=string nxsd:style=terminated nxsd:terminatedBy=, nxsd:quotedBy=quot; element name=DOB type=string nxsd:style=terminated nxsd:terminatedBy=, nxsd:quotedBy= element name=salutation type=string default={x} 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