RE: XProc document templates - a question about undeclared variables

> Does the document template step only look for those expressions it has
matching
> parameters for or does it try to evaluate all expressions in curly
braces. Would it
> throw an exception if it didn't find a matching parameter? I guess the
same situation
> would occur in XSLT document templates too where you've used AVTs.

It will try to evaluate all expression in curly braces. If any of them
cannot be evaluated (because it is an invalid XPath expression, because
of references to unbound variables, etc.), you will get an error.

Regards,
Vojtech


--
Vojtech Toman
Consultant Software Engineer
EMC | Information Intelligence Group
vojtech.toman@emc.com
http://developer.emc.com/xmltech

Received on Monday, 8 November 2010 14:10:17 UTC