NVelocity.Dvsl
Interface DvslNode

wrapper interface for nodes exposed in the template. Isolates the in-VSL DOM from that of the underlying implementation

Property Summary
System.Collections.Hashtable AttribMap
string Name
         returns the name of the node
object NodeImpl
         returns the object corresponding to the node in the implementaion that we are using. use only with the greatest of care
string Value
         returns the 'value' of the node

Method Summary
string Attrib(string attribute)
         returns attribute
System.Collections.IList Children()
         returns a list of all children of the current node
string Copy(System.Collections.IList nodeList)
         renders a deep copy of the nodes in the list ot the output
string Copy()
         renders a deep copy of the XML tree below the current node to the output
NVelocity.Dvsl.DvslNode Get(string xpath)
System.Collections.IList SelectNodes(string xpath)
         returns a list of nodes that satisfy the xpath
NVelocity.Dvsl.DvslNode SelectSingleNode(string xpath)
         returns a single node that satisfies the xpath
string ToString()
         returns the 'value' of the node
object ValueOf(string xpath)
         returns the value of the XPath expression


Property Detail

AttribMap

public System.Collections.Hashtable AttribMap


Name

public string Name

returns the name of the node


NodeImpl

public object NodeImpl

returns the object corresponding to the node in the implementaion that we are using. use only with the greatest of care


Value

public string Value

returns the 'value' of the node

Method Detail

Attrib

public string Attrib(string attribute)

returns attribute


Children

public System.Collections.IList Children()

returns a list of all children of the current node


Copy

public string Copy(System.Collections.IList nodeList)

renders a deep copy of the nodes in the list ot the output


Copy

public string Copy()

renders a deep copy of the XML tree below the current node to the output


Get

public NVelocity.Dvsl.DvslNode Get(string xpath)


SelectNodes

public System.Collections.IList SelectNodes(string xpath)

returns a list of nodes that satisfy the xpath


SelectSingleNode

public NVelocity.Dvsl.DvslNode SelectSingleNode(string xpath)

returns a single node that satisfies the xpath


ToString

public string ToString()

returns the 'value' of the node


ValueOf

public object ValueOf(string xpath)

returns the value of the XPath expression