camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: XPath Language: Saxon for XPath 2.0 on Spring DSL
Date Thu, 08 Dec 2011 10:28:19 GMT
Hi

No its not possible, we would need to add options to XPathExpression
to support that.
Could you log a JIRA ticket?


On Wed, Dec 7, 2011 at 7:15 PM, Raul Kripalani <raul@fusesource.com> wrote:
> Hi,
>
> From Spring DSL is there a way of specifying a custom TransformerFactory
> for the XPath Expression Language? e.g. to use XPath 2.0 functions which
> Xalan doesn't support.
>
> On [1] there are three ways of specifying the use of Saxon on the
> XPathBuilder (.saxon(), .objectModel(), .factory()). Another possibility is
> to set the standard javax.xml.xpath.XPathFactory system property.
>
> Unfortunately, the first are only valid for Java DSL and the second method
> changes the entire's JVM setting which overkill for this case.
>
> Regards,
> Raúl.
>
> [1] http://camel.apache.org/xpath.html



-- 
Claus Ibsen
-----------------
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Mime
View raw message