JavaScript Editor js editor     Web development 

Main Page

Contains the following for the specified objects:

XMLAdapter: XMLName contains the name of the element that specifies where to look for table elements. Read/write.

For more information about how the XMLAdapterВ LoadXML and Attach methods set this property, see the Remarks section.

XMLTable: XMLName contains the element name for that table in the XML document. Read-only when associated with an XMLAdapter object.

XMLField: XMLName contains the element or attribute name for that field in the XML document. Read-only when attached to an XMLTable object.


Return Value

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

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


Applies To: XMLAdapter Class | XMLTable Class | XMLField Class

The XMLAdapterВ LoadXML and Attach methods set the XMLAdapterВ XMLName property as follows:

  • ADO.NET DataSet element name for ADO.NET DataSet

  • "data" for ADO Recordset XML

  • Empty string ("") for Microsoft XML Data Reduced Schema (XDR) as used by Microsoft SQL-XML

If XMLAdapterВ XMLName is empty, XMLTableВ ToCursor looks for table elements within element referenced by the XMLAdapterВ IXMLDOMElement property.

The XMLAdapterВ ToXML method uses the XMLAdapterВ XMLName as the DataSet element name. If XMLName is empty, ToXML uses the string, "VFPDataSet".

The XMLTableВ ChangesToCursor and ApplyDiffgram methods require that XMLAdapterВ XMLName be set to a nonempty value and that the XML document is in DiffGram format.

See Also

JavaScript Editor js editor     Web development