camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ravi0903 <ravi2508...@gmail.com>
Subject problem using tokenizer for xml having same name for nested element
Date Fri, 27 Feb 2015 08:13:32 GMT
Hi,

I am trying to read large xml file using splitter and tokenizer.
Input file looks like :
<Products>
 <Product type="Item">
    <Value>ABC</Value>
    <Value>ABC</Value>
    <Value>ABC</Value>
     <Product type="Sku">
           <Value>ABC</Value>
           <Value>ABC</Value>
      </Product>
   </Product>
</Products>

while using tokenizer on Product, exchange body is not returning the outer
</Product> tag, it is taking the first found <Product> element.

Thanks
Ravi



--
View this message in context: http://camel.465427.n5.nabble.com/problem-using-tokenizer-for-xml-having-same-name-for-nested-element-tp5763251.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message