Share via


SRSProxy::scrubXmlFragment Method [AX 2012]

Removes any invalid or hidden characters that may be present at the start of an XML element. This can occur during the XML serialization of an object.

Syntax

client server public static str scrubXmlFragment(str xml)

Run On

Called

Parameters

  • xml
    Type: str
    A string representation of the XML element.

Return Value

Type: str
The XML with any leading spaces or hidden characters removed.

See Also

Reference

SRSProxy Class