CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
XML Parser

 



msambasiva
New User

Sep 11, 2012, 9:11 PM

Post #1 of 2 (958 views)
XML Parser Can't Post

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.


wickedxter
User

Sep 12, 2012, 8:33 PM

Post #2 of 2 (952 views)
Re: [msambasiva] XML Parser [In reply to] Can't Post

Its a lot more hard since their are so many... It should come down to ease of use of th API . Its more an less pick one read the doc's and try it out. Thats about how i go about finding a module that works.

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives