Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

TemplateNamespaceParser.SelectNodes Method

NOTE: This method is now obsolete.

not used anymore - ObjectsNamespaceParser will be dropped with 2.x, use ObjectDefinitionParserHelper instead


This method is overriden from ObjectsNamespaceParser since when invoked on sub-elements from the objets namespace (e.g., objects:objectMap for nvelocity property map) the

element.SelectNodes
fails because it is in the nvelocity custom namespace and not the object's namespace (http://www.springframwork.net) to amend this the object's namespace is added to the provided XmlNamespaceManager

[Visual Basic]
<Obsolete(Message:="not used anymore - ObjectsNamespaceParser will be dropped with 2.x, use ObjectDefinitionParserHelper instead", IsError:=False)> _
Protected Overrides Sub SelectNodes( _
   ByVal element As XmlElement, _
   ByVal childElementName As String _
)
[C#]
[Obsolete(Message="not used anymore - ObjectsNamespaceParser will be dropped with 2.x, use ObjectDefinitionParserHelper instead", IsError=False)]
protected override XmlNodeList SelectNodes(
   XmlElement element,
   string childElementName
);

Parameters

element
The element to be searched in.
childElementName
The name of the child nodes to look for.

Return Value

The child XmlNodes of the supplied element with the supplied childElementName.

See Also

TemplateNamespaceParser Class | Spring.Template.Velocity.Config Namespace