Share via


XMLSchemaLocation Property

Specifies schema information.

XMLSchemaLocation applies only when executing the following XMLAdapter methods:

XMLAdapter.XMLSchemaLocation [= cValue]

Property Values

Character data type. The following table lists the values for cValue.

cValue Description
"1" LoadXML processes inline or external schema, if referenced in the XML document. ToXML generates inline schema. (Default)
"schema location" LoadXML processes inline or external schema, if referenced and accessible in the XML document. Otherwise, Visual FoxPro attempts to load schema from the specified "schema location". ToXML generates external schema in the specified location.
"" (Empty) LoadXML does not:
  • Process any schema during loading.
  • Change the Tables collection.
  • Set the IsDiffGram property.

ToXML does not generate any schema.

See Also

Properties | XMLAdapter Object Properties, Methods, and Events | Tables Collection (XMLAdapter) | IsDiffGram Property

Applies To: XMLAdapter Class