Oracle® Objects for OLE Developer's Guide 10g Release 1 (10.1) Part Number B10118-01 |
|
Applies To
Description
Gets or Sets a string value in the encoding tag of the generated XML document.
Usage
OraDynaset.XMLEncodingTag = "SHIFT_JIS"
Remarks
This property is useful when the XML document generated by OO4O will be converted to a different character set encoding before it is stored or parsed. This might occur if it is to be loaded into a database or stored in a filesystem.
This property only sets the encoding tag value; it does not change the actual encoding of the document. The document generated by GetXML in Visual Basic will be encoded in UCS2. The documents generated by GetXMLToFile will use the same character set as the current NLS_LANG setting.
If this property is set to an empty string, the default encoding tags will be used. To omit the tag entirely, use OraDynaset.XMLOmitEncodingTag.
No check for validity of the chosen encoding is done.