You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@storm.apache.org by sowmiya kandasamy <ch...@hotmail.com> on 2014/01/31 05:42:02 UTC

StAX parser in storm


From: chk-sowmiya@hotmail.com
To: user@storm.incubator.apache.org
Subject: StAX parser
Date: Thu, 30 Jan 2014 18:05:24 +0530




   
Hi All,



     My XML file is,
    
    <student>
      <Id>1</id>
      <name>sowmi</name>
    </student>
    <student>
      <Id>2</id>
      <name>sowmi</name>
    </student>
    
    
    I want to process this file using Stax parser.And transform Xml content into separate XML files.The Xml file name should be the Id of the student like 1.xml,2.xml.The Xml file should contains the details as 
    
    1.xml
    
    <student>
      <Id>1</id>
      <name>sowmi</name>
    </student>
    
    
   
   This is the sample example my Xml file is huge.
  Can you please send coding regarding the above objective?
    Can you please guide us?
    
    Thank you,
    Sowmiya