Skip Headers
Oracle® Objects for OLE C++ Class Library Developer's Guide
10g Release 2 (10.2)

Part Number B14308-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

SetXMLEncodingTag

Applies To

ODynaset

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.