XmlReaderProperty_MaxElementDepth

 

Allows the user to set the maximum levels of nesting in elements. The type of this property is integer.

256

This property can be set through the IXmlReader::SetProperty method and retrieved through the IXmlReader::GetProperty method.

This property enables applications to set the levels of nesting to a reasonable number to avoid stack overflow issues, especially applicable in data models where elements nest themselves.

When entities resolve to elements, they are counted in the depth.

This property has security implications. For more information see XmlLite Security.

Header: XmlLite.h

Library: XmlLite.lib

IXmlReader Properties
XmlLite Security
XmlReaderProperty_MaxEntityExpansion

Show: