
msambasiva
New User
Sep 11, 2012, 9:11 PM
Post #1 of 2
(2213 views)
|
Hi All, I am using perl v5.8.8 built for i686-linux-thread-multi. I need to parse an XML. Can you suggest best approach to do this job. Actually I need to parse huge number of XMLs and store the required content into DB. XML is having some what complex structure. That's why looking for best approach to do this job. Following is the sample XML content <related-links id="F272718"> <link id="F272719"> <linktext id="F272721" /> </link> <link id="F272720" originalTitle="CREATING_CONDITIONS_EXAMPLES_0000"> <linktext id="F272722">Creating Conditions : Examples</linktext> </link> <link id="F284317" originalTitle="CREATING_ACCOUNT_RULES_POINTS_TO_CO_0000"> <linktext id="F284318">Creating Account Rules : Points to Consider</linktext> </link> </related-links> For each link tag, I need to insert a record into DB with id,title & link text content. Please suggest any best perl module to do this. Thanks in advance, Samba.
|