WrapInCDATA Property

Specifies whether the field is wrapped in CDATA sections.

WrapInCDATA applies only to Character, Character (Binary), Memo, or Memo (Binary) fields and when executing the XMLAdapter ToXML method, which creates XML consistent with its setting.

XMLField.WrapInCDATA [= lValue]

Return Value

Logical data type. The value of WrapInCDATA defaults to the value of XMLAdapter WrapMemoInCDATA or WrapCharInCDATA properties as appropriate. The following table lists values for lValue.

lValue Description

True (.T.)

The field is wrapped in CDATA sections.

False (.F.)

The field is not wrapped in CDATA sections.

Remarks

Applies To: XMLField Class

See Also

Reference

XMLField Object Properties, Methods, and Events
Visual FoxPro Data and Field Types
ToXML Method
WrapMemoInCDATA Property
WrapCharInCDATA Property

Other Resources

Properties (Visual FoxPro)