Oracle Objects for OLE C++ Class Library
Release 9.2

Part Number A95896-01
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents

Master Index

Feedback

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.


 
Oracle
Copyright © 1998, 2002 Oracle Corporation.

All Rights Reserved.
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents

Master Index

Feedback