Parameters
lenient-xpath
By default XPath evaluation throws an exception if the supplied XPath does not map to an existing property. This constraint can be relaxed by setting the parameter lenient-xpath to true. In the lenient mode evaluation simply returns null if the path maps to nothing.
Example:
<map:match pattern="*.jx">
<map:generate type="jx" src="documents/{1}.jx">
<map:parameter name="lenient-xpath" value="true"/>
</map:generate>
<map:serialize type="xhtml"/>
</map:match>
Errors and Improvements? If you see any errors or potential improvements in this document please help
us: View, Edit or comment on the latest development version (registration required).


