The Velocity Equivalent of an XML Stylesheet is a format.

A format contains rules to apply when a specified node is matched.


XPath Tool

In Velocity the XPath Tool is used to select Nodes

You can either use $_XPathTool.selectNodes or $_XPathTool.selectSingleNode to get multiple Nodes or a single entity.

Back to Top