Oracle® Objects for OLE C++ Class Library Developer's Guide 10g Release 1 (10.1) Part Number B10119-01 |
|
Applies To
Description
Sets a string value in the encoding tag of the generated XML document.
Usage
void SetXMLEncodingTag(const char *encodingtag) const throw(OException);
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 documents generated by GetXML or 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 XMLOmitEncodingTag.
No check for validity of the chosen encoding is done.