Re: [xml] LibXML and Perl
- From: Daniel Veillard <veillard redhat com>
- To: dhogan <dhogan linuxcomm net>
- Cc: xml gnome org
- Subject: Re: [xml] LibXML and Perl
- Date: Tue, 19 Jun 2001 10:54:40 -0400
On Mon, Jun 18, 2001 at 09:51:18PM -0700, dhogan wrote:
I have included a sample of a script that is very simple.
It opens a file with valid XML and loads it into a variable
Enters a while loop.
The while loop allows you to specifie the number of iterations on the
command line. So for the number
of times you request it will....
Create a new XML::LibXML object
and calls the parser_string method on the XML
Then undefine any variable that it once used.
When I run this script it will consume an additional 10 megs per second
of memory. Is there anyone who could tell me why.
No idea, matt answered on the Perl list it seems:
http://aspn.activestate.com/ASPN/Mail/Message/perl-xml/560626
Also when I use the getSomethingByName methods (getAttributeByName, and
getElementsByName)
they are case sensitive. I thought they we supposed to be case
insensative.
Hum all XML names are case sensitive. It is part of the spec.
Daniel
--
Daniel Veillard | Red Hat Network http://redhat.com/products/network/
veillard redhat com | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
Sep 17-18 2001 Brussels Red Hat TechWorld http://www.redhat-techworld.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]