Compartir a través de


PreserveWhiteSpace Property

Preserves or removes white space from XML output. Read/write.

PreserveWhiteSpace applies only when executing the XMLAdapter LoadXML and ToXML methods, which respectively retrieve and create XML consistent with these settings. PreserveWhiteSpace does not apply to data in a CDATA section.

XMLAdapter.PreserveWhiteSpace [= lValue]

Return Value

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

    lValue

    Description

    False (.F.)

    Removes white space. (Default)

    True (.T.)

    Preserves white space.

Remarks

Applies To: XMLAdapter Class

See Also

Reference

XMLAdapter Object Properties, Methods, and Events

LoadXML Method

ToXML Method

Other Resources

Properties (Visual FoxPro)