Defining Surrounded Data Using Native Schema Constructs

Native Format Builder Wizard 6-17 schema xmlns=http:www.w3.org2001XMLSchema xmlns:nxsd=http:xmlns.oracle.compcbpelnxsd xmlns:tns=http:www.oracle.comiasprocessconnect targetNamespace=http:www.oracle.comiasprocessconnect elementFormDefault=qualified attributeFormDefault=unqualified nxsd:stream=chars nxsd:version=NXSD element name=limstring complexType sequence element name=Landmark type=string nxsd:style=surrounded nxsd:leftSurroundedBy= nxsd:rightSurroundedBy= element name=Street type=string nxsd:style=surrounded nxsd:leftSurroundedBy={ nxsd:rightSurroundedBy=} sequence complexType element schema Translated XML Using the Native Schema: Left and Right Surrounding Marks Are Different limstring xmlns=http:www.oracle.comiasprocessconnect LandmarkErnest Hemingway MuseumLandmark StreetWhitehead St.Street limstring Native Data Format to Be Translated: Left and Right Surrounding Marks Are the Same The following is a sample native data to be translated for which the left and the right surrounding marks are the same: .FL..Florida Keys.+Key West+ Native Schema: Left and Right Surrounding Marks Are the Same ?xml version=1.0 encoding=US-ASCII? schema xmlns=http:www.w3.org2001XMLSchema xmlns:nxsd=http:xmlns.oracle.compcbpelnxsd xmlns:tns=http:www.oracle.comiasprocessconnect targetNamespace=http:www.oracle.comiasprocessconnect elementFormDefault=qualified attributeFormDefault=unqualified nxsd:stream=chars nxsd:version=NXSD element name=limstring complexType sequence element name=State type=string nxsd:style=surrounded nxsd:surroundedBy=. element name=Region type=string nxsd:style=surrounded nxsd:surroundedBy=. element name=City type=string nxsd:style=surrounded nxsd:surroundedBy=+ sequence complexType element schema 6-18 Oracle Fusion Middleware Users Guide for Technology Adapters Translated XML Using the Native Schema: Left and Right Surrounding Marks Are the Same limstring xmlns=http:www.oracle.comiasprocessconnect StateFLState RegionFlorida KeysRegion CityKey WestCity limstring

6.2.2.4 Defining Lists

This format applies to lists with the following characteristics: ■ All Items Separated by the Same Mark, but the Last Item Terminated by a Different Mark Bounded ■ All Items Separated by the Same Mark, Including the Last Item Unbounded All Items Separated by the Same Mark, but the Last Item Terminated by a Different Mark Bounded The following sections explain the format of the data to be translated, the native schema, and the translated XML. Native Data Format to Be Translated: 125,200,255 Native Schema: ?xml version=1.0 encoding=US-ASCII? schema xmlns=http:www.w3.org2001XMLSchema xmlns:nxsd=http:xmlns.oracle.compcbpelnxsd xmlns:tns=http:xmlns.oracle.compcbpelnxsdsmoketest targetNamespace=http:xmlns.oracle.compcbpelnxsdsmoketest elementFormDefault=qualified attributeFormDefault=unqualified nxsd:stream=chars nxsd:version=NXSD element name=list type=tns:Colors complexType name=Colors nxsd:style=list nxsd:itemSeparatedBy=, nxsd:listTerminatedBy={eol} sequence element name=Red type=string element name=Green type=string element name=Blue type=string sequence complexType schema Translated XML Using the Native Schema list xmlns=http:www.oracle.comiasprocessconnect Red125Red Green200Green Blue255Blue list Native Format Builder Wizard 6-19 All Items Separated by the Same Mark, Including the Last Item Unbounded The following sections explain the format of the data to be translated, the native schema, and the translated XML. Native Data Format to Be Translated: configure;startup;runtest;shutdown; Native Schema: ?xml version=1.0 encoding=US-ASCII? schema xmlns=http:www.w3.org2001XMLSchema xmlns:nxsd=http:xmlns.oracle.compcbpelnxsd xmlns:tns=http:xmlns.oracle.compcbpelnxsdsmoketest targetNamespace=http:xmlns.oracle.compcbpelnxsdsmoketest elementFormDefault=qualified attributeFormDefault=unqualified nxsd:stream=chars nxsd:version=NXSD element name=list type=tns:CommandSet complexType name=CommandSet nxsd:style=list nxsd:itemSeparatedBy=; sequence element name=Cmd1 type=string element name=Cmd2 type=string element name=Cmd3 type=string element name=Cmd4 type=string sequence complexType schema Translated XML Using the Native Schema: list xmlns=http:www.oracle.comiasprocessconnect Cmd1configureCmd1 Cmd2startupCmd2 Cmd3runtestCmd3 Cmd4shutdownCmd4 list

6.2.2.5 Defining Arrays

This is for an array of complex types where the individual cells are separated by a separating character and the last cell of the array is terminated by a terminating character. The following are examples of array types: ■ All Cells Separated by the Same Mark, but the Last Cell Terminated by a Different Mark Bounded ■ All Cells Separated by the Same Mark, Including the Last Cell Unbounded ■ Cells Not Separated by Any Mark, but the Last Cell Terminated by a Mark Bounded ■ The Number of Cells Being Read from the Native Data ■ Explicit Array Length