Home > Archive > PERL Beginners > December 2004 > xml module
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| Patricio Bruna V 2004-12-30, 8:55 pm |
| 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 (<name
xml:lang="ar">, fox example).
I think its a simple thing to do, so here its the question, what perl
module do you recommend for this task?
thx.
--
Patricio Bruna http://www.linuxcenterla.com
Ingeniero de Proyectos Mariano Sánchez Fontecilla 310
Red Hat Certified Engineer Las Condes, Santiago - CHILE
Linux Center Latinoamerica Fono: 2745000
| |
| Bob Showalter 2004-12-30, 8:55 pm |
| 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
> (<name xml:lang="ar">, fox example).
> I think its a simple thing to do, so here its the question, what perl
> module do you recommend for this task?
XML::SAX + XML::SAX::Base
You can write a very simple filter for this kind of thing.
|
|
|
|
|