Defining fixed and default Values

Native Format Builder Wizard 6-39 Age16Age Address2 Old Street, Old Town,ManchesterAddress DOB20-08-1954DOB salutationhellosalutation Telephone0161-499-1718Telephone terminated

6.2.2.12 Defining write

The write construct writes the literal at the current position in the output stream, either before writing the actual data or after writing it. Input XML: terminated xmlns=http:xmlns.oracle.compcbpelnxsdsmoketest PersonNameFredPersonName Address2 Old Street, Old Town,ManchesterAddress DOB20-08-1954DOB Telephone0161-499-1718Telephone terminated 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:writeMode=before nxsd:write=Mr. nxsd:style=terminated nxsd:terminatedBy=, nxsd:quotedBy=quot; element name=Address type=string nxsd:writeMode=after nxsd:write=Over. 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= sequence complexType element schema Translated Data Using Native Schema: Mr.Fred,2 Old Street, Old Town,Manchester,Over.20-08-1954,0161-499-1718 6-40 Oracle Fusion Middleware Users Guide for Technology Adapters

6.2.2.13 Defining LookAhead

The LookAhead construct is of the following types: ■ Type 1: LookAhead X chars, read the value from a position using a style, and match against the specified literal. ■ Type 2: LookAhead X chars, read the value from a position using a style, and store that value in a variable to be used later. LookAhead: Type 1 LookAhead X chars, read the value from a position using a style, and match against the specified literal. Native Data Format to Be Translated: Fred,2 Old Street, Old Town,Manchester,20-08-1954,0161-499-1718,YES 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=LookAhead complexType sequence minOccurs=0 nxsd:lookAhead=70 nxsd:lookFor=YES element name=PersonName type=string nxsd:style=terminated nxsd:terminatedBy=, nxsd:quotedBy=quot; 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=Telephone type=string nxsd:style=terminated nxsd:terminatedBy=, nxsd:quotedBy= sequence complexType element schema Translated XML Using Native Schema: LookAhead xmlns=http:xmlns.oracle.compcbpelnxsdsmoketest PersonNameFredPersonName Address2 Old Street, Old Town,ManchesterAddress DOB20-08-1954DOB Telephone0161-499-1718Telephone LookAhead LookAhead: Type 2 In native schema, LookAhead X chars, read the value from a position using a style, and store that value in a variable to be used later.