次の方法で共有


XMLNamespace Property

Contains the following for the specified objects:

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

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

Note

Only the XMLTable ToCursor, ChangesToCursor, and ApplyDiffgram methods use the XMLTable XMLNameSpace. The XMLField XMLName should belong to the same namespace as XMLTable XMLName.

Object.XMLNamespace

Return Value

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

Applies To: XMLAdapter Class | XMLTable Class

Note

Visual FoxPro disregards the XMLTable XMLNamespace property when executing XMLAdapter ToXML method. Instead, it inserts the XMLTable XMLName and XMLField XMLName into the XMLAdapter XMLNamespace.

See Also

Reference

XMLAdapter Object Properties, Methods, and Events

XMLTable Object Properties, Methods, and Events

XMLName Property

ToXML Method

ToCursor Method

ChangesToCursor Method

ApplyDiffgram Method

STRCONV( ) Function

Other Resources

Properties (Visual FoxPro)