473,326 Members | 2,111 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Can I use XML::Parser to read xml file instead of XML::DOM/SAX???

Hello All,

I have XML::Parser ,installed in my server.I cant install any other modules.
So I need to use only XML::Parser.
Is it possible to read xml file by tag by tag using XML::Parser?

If Yes, please share any code if you have..

Thanks in advance.
Aug 29 '07 #1
2 1337
You can use XML::Parser to read the XML file tag by tag. I think that it's easy to user XML::Simple comapred to all the other XML parsing modules. Even you can use XML::Twig too.
Aug 29 '07 #2
Hello Everybody,

Can anyone send examples to read xml data by tag by tag using XML::Parser.

Thanks in advance.
Aug 30 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Juliano Freitas | last post by:
Hello! i'm usin a DOM module to process a xml file. I'm having problems with the appenChild function. Why in my example below i can't append the child 'ele' into the swdb. <swdb>...
4
by: annoyingmouse2002 | last post by:
Hi there, sorry if this a long post but I'm really just starting out. I've been using MSXML to parse an OWL but would like to use a different solution. Basically it reads the OWL (Based on XML)...
2
by: Billy Smith | last post by:
How do you go about populating a select list from an XML file? I can open the XML file fine and get at all of the data, but I'm stuck on how to use that data in my <option> tags. Is it even...
7
by: Joshua Morgan | last post by:
Hey all, I want to create my own XML parser that is completely independent of PHP version (i want it to run on both PHP 4 and 5), and to also not require any dependencies (so that the user...
6
by: jmike | last post by:
Hi everyone, I am a total newbie to XML parsing. I've written a couple of toy examples under the instruction of tutorials available on the web. The problem I want to solve is this. I have an...
2
by: TPK | last post by:
Is there any way javascript can be used to assemble a XML file? Any resources out there that may explain how to do this (if possible)? TPK
1
by: Newbie | last post by:
Hi All Wondered if you could help. I have created a little backup routine (using classic ASP and ADO) to get my data from my db into a bespoke XML file, ie I query the data into a recordset,...
12
by: minimalniemand | last post by:
I try to recursivley fill a treeview from a xml-file. It works well, when the contents of the xml and the treeview match 1:1. code here: http://mad-scientists.co.uk/micha/shownode.txt a sample...
2
by: Samudaya | last post by:
Hi, I have a application which has a xml file reading and wrting. I want to remove some element in xml file by using php. <?xml version="1.0" encoding="UTF-8"?> <element1>...
25
by: neovantage | last post by:
Hey, I am working on reading and writing the XML DOM File using PHP. My XML File is In this Format portfolio category="Category1"> <item thumbimg="http://bytes.com/images/thumb1.jpg"...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.