Partager via


WrapCharInCDATA Property

Specifies whether to wrap character fields in CDATA sections.

WrapCharInCDATA applies only when executing the following methods:

XMLAdapter.WrapCharInCDATA [= lValue] 

Return Value

  • lValue
    Logical data type. The following table lists the values for lValue.

    lValue

    Description

    False (.F.)

    Does not wrap character fields in CDATA sections. (Default)

    True (.T.)

    Wraps character fields in CDATA sections.

Remarks

Applies To: XMLAdapter Class

The XMLAdapter LoadXML, Attach, and AddTableSchema methods use WrapCharInCDATA to set the XMLField WrapInCDATA property for Character fields.

See Also

Reference

XMLAdapter Object Properties, Methods, and Events

XMLField Class

WrapCharInCDATA Property

WrapInCDATA Property

Other Resources

Properties (Visual FoxPro)