XMLNamespace Property

Contains the following for the specified objects:

XMLAdapter: XMLNamespace contains the XML Namespace to which XMLAdapterXMLName belongs, if any. Read/write.

XMLTable: XMLNamespace contains the XML Namespace to which XMLTableXMLName belongs. If empty, the XMLAdapterNamespace property is used instead. Read/write.

Note   Only the XMLTableToCursor, ChangesToCursor, and ApplyDiffgram methods use the XMLTableXMLNameSpace. The XMLFieldXMLName should belong to the same namespace as XMLTableXMLName.

Object.XMLNamespace

Property Values

Character data type. XMLNamespace contains a Unicode character string or is empty ("") when not populated.

Note   Before assigning a string value to XMLNamespace, you must convert the value to Unicode. You can use the STRCONV( ) function to perform this requirement.

Remarks

Note   Visual FoxPro disregards the XMLTableXMLNamespace property when executing XMLAdapterToXML method. Instead, it inserts the XMLTableXMLName and XMLFieldXMLName into the XMLAdapterXMLNamespace.

See Also

Properties | XMLAdapter Object Properties, Methods, and Events | XMLTable Object Properties, Methods, and Events | XMLName Property | ToXML Method | ToCursor Method | ChangesToCursor Method | ApplyDiffgram Method | STRCONV( ) Function

Applies To: XMLAdapter Class | XMLTable Class