Patricio Bruna V wrote:
> i need to parse out one big xml file, 592K, but the only thing i need
> to do its eliminate some tags, where the lang attribute is not es
> (, fox example).
> I think its a simple thing to do, so here its the question, what perl
> module do you recommend for this task?
XM
There's also XML::LibXML::Document
XML::LibXML::Node.
I currently use them and they do the job. The Document module emulates a
DOM tree while you can use the Node module to work with your element nodes.
Mel
Admin-Stress wrote:
Hi,
anyone can suggest me XML module for reading/parsing/modifying
s@;rivalsdm.com]
> Sent: Monday, October 21, 2002 6:18 PM
> To: NYIMI Jose (BMB)
> Cc: Admin-Stress; perl
> Subject: RE: XML module
>
>
> On Mon, 2002-10-21 at 17:04, NYIMI Jose (BMB) wrote:
> > XML::Simple
> > XML::DOM
> > XML::Parser::PerlSAX
>
>
On Mon, 2002-10-21 at 17:04, NYIMI Jose (BMB) wrote:
> XML::Simple
> XML::DOM
> XML::Parser::PerlSAX
The above modules are based around the expat libraries. There are also
modules based around the gnome libxml2 libraries, which seem to be
faster, but less portable:
XML::LibXML
XML::LibXML::SAX
XM
It depends on how big,complex,validation required(via DTD) or not... is your XML.
Start looking from following modules:
XML::Simple
XML::DOM
XML::Parser::PerlSAX
José.
> -Original Message-
> From: Admin-Stress [mailto:meerkapot@;yahoo.com]
> Sent: Monday, October 21, 2002 5:49 PM
> To:
> The above modules are based around the expat libraries. There
> are also modules based around the gnome libxml2 libraries,
> which seem to be faster, but less portable:
It seems that you must be root to install libxml2 libraries, right ?
while expat libraries offer more flexibility with the op