Removes the XML declaration (like <?xml version="1.0" encoding="utf-8"?>) if present from the provided agrument.

Namespace: Composite.Core.Xml
Assembly: Composite (in Composite.dll) Version: 6.1.6325.31818

Syntax

C#
public static string RemoveXmlDeclaration(
	string xml
)
Visual Basic
Public Shared Function RemoveXmlDeclaration ( _
	xml As String _
) As String
Visual C++
public:
static String^ RemoveXmlDeclaration(
	String^ xml
)

Parameters

xml
Type: System..::..String
The string to remove XML declaration from

Return Value

The XML document without any XML declaration

See Also