You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by ravi0903 <ra...@gmail.com> on 2015/02/27 09:13:32 UTC

problem using tokenizer for xml having same name for nested element

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.