forked from genjosanzo/mule
-
Notifications
You must be signed in to change notification settings - Fork 0
Pull Requests
yosukeyoshikawa edited this page Apr 17, 2013
·
2 revisions
| Tag | Date | Author | Status | Description | Links |
|---|---|---|---|---|---|
| MULE-6501 | 17/04/2013 | Rob Valk | Pull Request Submitted | MULE-6501 - Handle XSLT parameters with expressions that return (possibly XML node) objects. Key use-case now supported is extracting a fragment of an XML payload via an #[xpath()] expression, and later using this as a input parameter to an XSLTTransformer. XsltTransformer calls ExpressionManager.evaluate() instead of ExpressionManager.parse() Converts the returned object to a javax.xml.transform.Source if it is convertible. XMLUtils.toXMLSource() handles conversion of Dom4j nodes as well as complete documents. Otherwise uses the expression result object as-is for the XSLT parameter. The expanded support for Dom4j nodes is because the xpath() function might return a w3c DOM or Dom4j node depending on what format the message payload was in. Converting the XSLT parameter to java.xml.transform.Source allows Saxon to process an XML node parameter as intended. | https://github.com/mulesoft/mule/pull/8 http://www.mulesoft.org/jira/browse/MULE-6501 |