Description
Return a node object corresponding to the root element of the article - i.e. the whole article.
Available in Ted and Fred.
Syntax
dim objNode = object.GetRootNode |
object
Required. Object name. Returned by Ted.GetActiveArticle.
Example
This script returns the root node object.
If Ted.HasActiveArticle Then
dim objArticle = Ted.GetActiveArticle
dim objNode = objArticle.GetRootNode
End If
This script selects the root node object.
If Ted.HasActiveArticle Then
dim objArticle = Ted.GetActiveArticle
objArticle.SelNode (objArticle.GetRootNode)
End If
Context
Article object
See also
GetTxtNode, GetCurNode, GetParent