Tamino XML Server Version 9.7
 —  Tamino XML Schema Reference Guide  —

tsd:subTreeAdabas

Purpose Mapping to Adabas. The subtree is mapped to Adabas, must contain the tsd:nodeAdabasField below.
Parent element tsd:map
Child elements None
Attributes dbid, password, fnr and encoding
Restrictions tsd:subTreeAdabas is only valid if the containing tsd:map element belongs to a logical node that has child nodes, i.e. it must be a descendant element of a tsd:elementInfo, not a tsd:attributeInfo.
Attributes
Name Type Description
dbid xs:string Specifies the Adabas database ID.
password xs:string Specifies the password required to access the Adabas database.
fnr xs:string Specifies the file number of the external Adabas file to access (see example below).
encoding xs:string Specifies the encoding for the node and its children (see example below). The default encoding is ISO-8859-1.

The valid values for the encoding attribute are listed in the table below (each of these denoting a special encoding):

../graphics/gr_b_sm.gif big-5
../graphics/gr_b_sm.gif euc-kr
../graphics/gr_b_sm.gif extended_unix_code_packed_format_for_japanese
../graphics/gr_b_sm.gif gb2312
../graphics/gr_b_sm.gif ibm037
../graphics/gr_b_sm.gif ibm1026
../graphics/gr_b_sm.gif ibm273
../graphics/gr_b_sm.gif ibm277
../graphics/gr_b_sm.gif ibm278
../graphics/gr_b_sm.gif ibm280
../graphics/gr_b_sm.gif ibm284
../graphics/gr_b_sm.gif ibm285
../graphics/gr_b_sm.gif ibm420
../graphics/gr_b_sm.gif ibm424
../graphics/gr_b_sm.gif ibm437
../graphics/gr_b_sm.gif ibm500
../graphics/gr_b_sm.gif ibm775
../graphics/gr_b_sm.gif ibm850
../graphics/gr_b_sm.gif ibm852
../graphics/gr_b_sm.gif ibm855
../graphics/gr_b_sm.gif ibm857
../graphics/gr_b_sm.gif ibm860
../graphics/gr_b_sm.gif ibm862
../graphics/gr_b_sm.gif ibm863
../graphics/gr_b_sm.gif ibm864
../graphics/gr_b_sm.gif ibm865
../graphics/gr_b_sm.gif ibm866
../graphics/gr_b_sm.gif ibm868
../graphics/gr_b_sm.gif ibm869
../graphics/gr_b_sm.gif ibm870
../graphics/gr_b_sm.gif ibm871
../graphics/gr_b_sm.gif ibm918
../graphics/gr_b_sm.gif iso-10646-ucs-2
../graphics/gr_b_sm.gif iso-2022-jp
../graphics/gr_b_sm.gif iso-8859-1 (default)
../graphics/gr_b_sm.gif iso-8859-13
../graphics/gr_b_sm.gif iso-8859-15
../graphics/gr_b_sm.gif iso_8859-2
../graphics/gr_b_sm.gif iso_8859-3
../graphics/gr_b_sm.gif iso_8859-4
../graphics/gr_b_sm.gif iso_8859-5
../graphics/gr_b_sm.gif iso_8859-6
../graphics/gr_b_sm.gif iso_8859-7
../graphics/gr_b_sm.gif iso_8859-8
../graphics/gr_b_sm.gif jis_encoding
../graphics/gr_b_sm.gif koi8-r
../graphics/gr_b_sm.gif ks_c_5608-1987
../graphics/gr_b_sm.gif shift_jis
../graphics/gr_b_sm.gif unicode-1-1
../graphics/gr_b_sm.gif utf-16
../graphics/gr_b_sm.gif utf-16be
../graphics/gr_b_sm.gif utf-16le
../graphics/gr_b_sm.gif utf-8
../graphics/gr_b_sm.gif windows-1250
../graphics/gr_b_sm.gif windows-1251
../graphics/gr_b_sm.gif windows-1252
../graphics/gr_b_sm.gif windows-1253
../graphics/gr_b_sm.gif windows-1254
../graphics/gr_b_sm.gif windows-1255
../graphics/gr_b_sm.gif windows-1256
../graphics/gr_b_sm.gif windows-1257
../graphics/gr_b_sm.gif windows-1258
../graphics/gr_b_sm.gif windows-31j

Example

This example maps an element with all its descendants to Adabas. It illustrates the use of the tsd:subTreeAdabas element in conjunction with the tsd:nodeAdabasField element of TSD:

<xs:element name = "employee">
  <xs:annotation>
    <xs:appinfo>
      <tsd:elementInfo>
        <tsd:physical>
          <tsd:map>
            <tsd:subTreeAdabas dbid = "3" fnr = "21"></tsd:subTreeAdabas>
          </tsd:map>
        </tsd:physical>
      </tsd:elementInfo>
    </xs:appinfo>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element name = "name">
        <xs:complexType>
          <xs:sequence>
            <xs:element name = "firstname" type = "xs:string">
              <xs:annotation>
                <xs:appinfo>
                  <tsd:elementInfo>
                    <tsd:physical>
                      <tsd:map>
                        <tsd:nodeAdabasField
                         shortname = "AC" format = "A" length = "20"/>
                      </tsd:map>
                    </tsd:physical>
                  </tsd:elementInfo>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
            <xs:element name = "surname" type = "xs:string">
              <xs:annotation>
                <xs:appinfo>
                  <tsd:elementInfo>
                    <tsd:physical>
                      <tsd:map>
                        <tsd:nodeAdabasField
                         shortname = "AE" format = "A" length = "20"/>
                      </tsd:map>
                    </tsd:physical>
                  </tsd:elementInfo>
                </xs:appinfo>
              </xs:annotation>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    <xs:sequence>
  </xs:complexType>
</xs:element>

Top of page