[ 
https://issues.apache.org/jira/browse/CAMEL-5619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13457149#comment-13457149
 ] 

Claus Ibsen commented on CAMEL-5619:
------------------------------------

I added the needed snippet tags to the xml file. Take a look at this commit
http://svn.apache.org/viewvc?rev=1386720&view=rev

And then in the wiki documentation you do:
{code}
{snippet:id=e1|lang=xml|url=camel/trunk/components/camel-test-blueprint/src/test/resources/org/apache/camel/test/blueprint/xpath/XPathHeaderNameTest.xml}
{code}

Notice the id should match the id in the source code.
                
> Add blueprint example for XPath on headers
> ------------------------------------------
>
>                 Key: CAMEL-5619
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5619
>             Project: Camel
>          Issue Type: Task
>          Components: documentation
>            Reporter: Alan Foster
>            Assignee: Claus Ibsen
>            Priority: Trivial
>             Fix For: 2.11.0
>
>         Attachments: CAMEL-5619.patch
>
>
> There is currently no example of blueprint DSL using XPath on a header's 
> value.
> I added an example to the XPath documentation page, but it is hard coded in a 
> 'code' element. It would be nice to add this example to source in order to 
> use the 'snippet' element that other examples seem to use

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to