Router provides routing of an input XML document based upon the evaluation of a XPath/XSL expression. The XPath/XSL expression is evaluated against the input XML document. If the expression evaluates to true, the input document is routed to the output port, otherwise to the other port.
The XPath/XSL expression may reference any ComponentX variable or property defined in parent component as an XSL variable. For example if there exists a ComponentX variable named customerName of type /dat/templates/CompositeTypes/StructuredName, $customerName/StructuredName/FirstName would reference the FirstName element of the document stored in the customerName variable.
For further information on XPath/XSL expressions, see XSL references.