an example:

*REGISTER /usr/lib/pig/contrib/piggybank/java/piggybank.jar;*
*DEFINE XMLLoader org.apache.pig.piggybank.storage.XMLLoader();*
*
*
*indisXML = LOAD 'indis.xml' USING XMLLoader('indisposicion') AS
(indisposicion:chararray);*
*dump indisXML;*

2012/4/18 krishnan N <[email protected]>

> Hi ,
>
> Have anyone used the XMLloader to parse an XML file, if so then can you
> please share few lines of your scripts.
> I tried using the example given by pig.apache.org but not sure how to use
> it.
>
> Thanks
> Krishnan
>

Reply via email to