# Method Parser.XML.Tree.VirtualNode()->cast()

Method cast

  `(int)Parser.XML.Tree.VirtualNode()
  (float)Parser.XML.Tree.VirtualNode()
  (string)Parser.XML.Tree.VirtualNode()
  (array)Parser.XML.Tree.VirtualNode()
  (mapping)Parser.XML.Tree.VirtualNode()
  (multiset)Parser.XML.Tree.VirtualNode()`

Description

  It is possible to cast a node to a string, which will return render_xml() for that node.