Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: XML::Parser sigh...

by rogue90 (Novice)
on Jul 27, 2005 at 21:27 UTC ( #478728=note: print w/replies, xml ) Need Help??


in reply to Re: XML::Parser sigh...
in thread XML::Parser sigh...

sure:
<data> <RECORD> <id>1381</id> <title>Water & Fluids</title> <year>1986</year> </RECORD> ... </data>

Replies are listed 'Best First'.
Re^3: XML::Parser sigh...
by GrandFather (Saint) on Jul 27, 2005 at 21:35 UTC

    The parsers that I've looked at require the whole XML documents. Internally they may swallow a bite at a time, but you've got to give them the whole thing as either a string or a file handle.

    I guess options are either preprocess the whole document or use a tied variable passed to the parser to process the file as the parser reads it.


    Perl is Huffman encoded by design.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://478728]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (2)
As of 2023-03-25 20:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (63 votes). Check out past polls.

    Notices?