GetXmlName Method

Html Agility Pack

Collapse imageExpand ImageCopy imageCopyHover image
Gets a valid XML name.

Namespace: HtmlAgilityPack
Assembly: HtmlAgilityPack (in HtmlAgilityPack.dll) Version: 1.4.0.0 (1.4.0.0)

Syntax

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

Parameters

name
Type: System..::..String
Any text.

Return Value

A string that is a valid XML name.

See Also