Oracle® Coherence .NET API Reference Release 3.7.1
E22844-03

Find a child element with the specified '/'-delimited path and the specified value.

Namespace:  Tangosol.Run.Xml
Assembly:  Coherence (in Coherence.dll) Version: 3.7.1.23 (3.7.1.23)

Syntax

C#
public static IXmlElement FindElement(
	IXmlElement xml,
	string path,
	Object value
)

Parameters

xml
Type: Tangosol.Run.Xml..::.IXmlElement
An IXmlElement.
path
Type: System..::.String
The path to follow to find the desired XML element.
value
Type: System..::.Object
The value to match.

Return Value

The child element with the specified path and value or null if the such a child element does not exist.

Remarks

The path format is based on a subset of the XPath specification, supporting:
  • Leading '/' to specify root
  • Use of '/' as a path delimiter
  • Use of '..' to specify parent
If multiple child elements exist that have the specified name and value, then this method returns any one of the matching elements.

See Also