Giving that xml input:
<contactsInput>
<contacts>
<contact>
<name>john</name>
<surname>smith</surname>
<fullName>John Smith</fullName>
<items>
<item>myItem</item>
</items>
</contact>
</contacts>
</contactsInput>
And that mapping:
<record name="contact" class="eu.com.company.camel.Contact">
<field name="name"/>
<field name="surname"/>
<field name="fullName"/>
<field xpath="/*/*/*/*[local-name()='items']" setter="setStringItems"/>
</record>
It would be nice to add support for xpath expression, to store xml portions in
a string and save it without marshalling.
In my use case I have to send the portion to a text indexing engine.
What is the expected output?
name="john"
surname="smith"
fullname="john smith"
stringItems="<items><item>myItem</item></items>"
Thank you
Original issue reported on code.google.com by emanuele...@gmail.com on 14 May 2014 at 1:09
Original issue reported on code.google.com by
emanuele...@gmail.com
on 14 May 2014 at 1:09