[ https://issues.apache.org/jira/browse/SYNAPSE-235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12577641#action_12577641 ]
Andreas Veithen commented on SYNAPSE-235: ----------------------------------------- I know that you already started to modify the code, but I was wondering if it would not have been more elegant and perhaps even simpler to use XPath variables to do this. For example: expression="$body/getQuote/request" I'm not 100% sure that this is feasible, but I know that in XPath a variable can be a node set (meaning that it in particular it can reference a single node). Also, Jaxen supports this (see http://jaxen.codehaus.org/apidocs/org/jaxen/VariableContext.html). > Allow XPath expressions to be specified relative to envelope or body via an > attribute > ------------------------------------------------------------------------------------- > > Key: SYNAPSE-235 > URL: https://issues.apache.org/jira/browse/SYNAPSE-235 > Project: Synapse > Issue Type: Improvement > Reporter: Asankha C. Perera > Assignee: Ruwan Linton > > This would make XPath expressions simpler without consideration for SOAP 1.1 > or 1.2 or REST etc > Default could be envelope (i.e. what we have now - for backward > compatibility), and an optional attribute could specify if it should be > relative to the body -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]