On Tue, 2008-09-23 at 15:55 +0300, Vyacheslav Karamov wrote:
> Hi All!
>
> I need to parse XML file which contain HTML entities like
>
> ΓΈ
>
> I'm using XML::Parser::Expat, but it stops processing when finds such
> entity.
> How could I handle this?
>
You need to add a DTD with those ent
Hi Rob,
I only have to read values from nodes but I am amazing by what you
say. But the XML file can take 10 Mb.
I thought that expat was the faster parser because I have found this
link http://www.xml.com/lpt/a/37. Maybe it was true in 1999 but it
isn't not at all.
You have to notice that the p
I would implement XML::LibXML or a better one, twig or Expat just to
see if it is faster and then implement it in a C++ class.
Have you got a sample of using Expat ? or Twig ?
Are those lib available in C++ and twig or expat are faster than MSXML
or Xerces ?
Thanks
On 19 juil, 13:15, [EMAIL PR
2008/7/19 Amit Saxena <[EMAIL PROTECTED]>:
> On Sat, Jul 19, 2008 at 6:44 AM, Rob Dixon <[EMAIL PROTECTED]> wrote:
>
>>
>> Epanda wrote:
>> >
>> > Epanda wrote:
>> >>
>> >> I would like to know if we can parse XML with regexp faster than with
>> >> an MSXML or Xerces library ?
>> >
>> > I just want
On Sat, Jul 19, 2008 at 6:44 AM, Rob Dixon <[EMAIL PROTECTED]> wrote:
>
> Epanda wrote:
> >
> > Epanda wrote:
> >>
> >> I would like to know if we can parse XML with regexp faster than with
> >> an MSXML or Xerces library ?
> >
> > I just want to parse an XML and I have seen that the XML!!Parser o
Epanda wrote:
>
> Epanda wrote:
>>
>> I would like to know if we can parse XML with regexp faster than with
>> an MSXML or Xerces library ?
>
> I just want to parse an XML and I have seen that the XML!!Parser of
> Perl based on Expat is the most faster ofth world, I don't know Twig.
>
> My XML
On 18 juil, 21:08, [EMAIL PROTECTED] (Epanda) wrote:
> Hi,
>
> I would like to know if we can parse XML with regexp faster than with
> an MSXML or Xerces library ?
>
> Thanks
> Best Regards
I just want to parse an XML and I have seen that the XML!!Parser of
Perl based on Expat is the most faster
XML::Simple is fast enough.
On Sat, Jul 19, 2008 at 3:08 AM, epanda <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I would like to know if we can parse XML with regexp faster than with
> an MSXML or Xerces library ?
>
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PRO
epanda wrote:
>
> I would like to know if we can parse XML with regexp faster than with
> an MSXML or Xerces library ?
It is very unlikely to be faster using regular expressions, and it will
certainly be less readable.
The XML::Twig library can result in very fast code for some sorts of XML dat
- Original Message -
From: "David Moreno Garza" <[EMAIL PROTECTED]>
To:
Sent: Monday, May 21, 2007 8:23 PM
Subject: Re: Parsing XML data
Mike Blezien wrote:
Hello,
I am working with a XML gateway system which sends back response results in
XML format. I have been
Mike Blezien wrote:
> Hello,
>
> I am working with a XML gateway system which sends back response results in
> XML format. I have been trying to work w/XML::Simple to parse the data, but
> not too much success. This is a sample of the XML response data, the "*"
> indicate the data we need to ex
From: Kevin Viel <[EMAIL PROTECTED]>
> Jenda Krynicky kindly provided:
>
> > use XML::Rules;
> >
> > my $parser = XML::Rules->new(
> > rules => [
> > Id => 'content',
> > Item => sub {$_[1]->{Name} => $_[1]->{_content}},
> ># from the tags we are interested in the content
> ># and
From: Kevin Viel <[EMAIL PROTECTED]>
I have obtain results of a query in XML format:
http://www.ncbi.nlm.nih.gov/entrez/query/DTD/eSummary_041029.dtd";>
4609
MYC
v-myc myelocytomatosis
viral oncogene homolog (avian)
Homo sapiens
0
0
From: Kevin Viel <[EMAIL PROTECTED]>
> I have obtain results of a query in XML format:
>
>
> October 2004//EN"
> "http://www.ncbi.nlm.nih.gov/entrez/query/DTD/eSummary_041029.dtd";>
>
> 4609
> MYC
> v-myc myelocytomatosis
>
> viral oncogene homolog (avian)
Hi Mika
To address your code directly:
I suspect this line is the problem:
$OBU_objects[$OBU_idx] = \%OBU_hash;
Each time this line executes it stores a reference to the
same hash at a different position in @OBU_objects. To create
a new hash each time, you could to this:
$OBU
I'm not sure what you are saying your problem is,
and I may have this wrong, but since no one else
has answered, I'll have a go.
To generate a new, anonymous hash that is a
copy of an existing named hash, use {}.
Put the {} brackets around some expression that
can be seen by perl as a hash, eg:
16 matches
Mail list logo