[ https://issues.apache.org/jira/browse/SYNAPSE-235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12578184#action_12578184 ]
Ruwan Linton commented on SYNAPSE-235: -------------------------------------- I did the changes and incorporated the changes with some improvements :) to support the transport headers and the message context properties as xpath variables. You may go through the code again :) So in effect you can refer to the body content using $body/... and headers using $header/.... and can refer to the transport headers using the $trp:[header-name] where as [header-name] can be any of the header names. For example for the Content-Type http header the xpath is $trp:Content-Type In the same manner you can access the message context properties using the $ctx:[property-name] or the axis2 message context properties using the $axis2:[property-name] > 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 > Fix For: 1.2 > > > 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]