In This Article

XmlParserContext Class

Stores parser context information for a XML language grammar parser.

public class XmlParserContext
Inheritance:
object object

Constructors

XmlParserContext()

Initializes a new instance of the XmlParserContext class.

public XmlParserContext()

Properties

ElementStack

Gets the element stack.

public Stack<IAstNode> ElementStack { get; }

Property Value

Stack<IAstNode>:

The element stack.

IsWellFormed

Gets or sets whether the XML is well-formed.

public bool IsWellFormed { get; set; }

Property Value

bool:

true if the XML is well-formed; otherwise, false.

Inherited Members