Back to Adaptive Vision Library website

You are here: Start » Function Reference » All Functions » Xml » Xml_RemoveNodes

Xml_RemoveNodes


This is Filter Equivalent. This function may be present in generated code, but should not be used in hand-written code.

Header: STD.h
Namespace: avl
Module: FoundationLite

Removes nodes selected by an XPath request.

Syntax

void avl::Xml_RemoveNodes
(
	const avl::XmlNode& inNode,
	const atl::String& inXPath,
	avl::XmlNode& outNode
)

Parameters

Name Type Default Description
inNode const XmlNode& Source node.
inXPath const String& XPath criteria.
outNode XmlNode& New node after removing.

In-place Processing

This function supports in-place data processing - you can pass the same reference to inNode and outNode

Read more about In-place Computation.

Errors

List of possible exceptions:

Error type Description
DomainError Invalid inNode in Xml_RemoveNodes.
DomainError Unable to remove nodes in Xml_RemoveNodes.