Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Re: XML log files

by dingus (Friar)
on Dec 05, 2002 at 16:27 UTC ( [id://217808]=note: print w/replies, xml ) Need Help??


in reply to Re: XML log files
in thread XML log files

Entities to the rescue!

I knew there would be a nice XML way to do this. Merci Beaucoup, Muchos Gracias, Vielen Dank, Spacebo, Arigatou, Kiitos, Tusen Takk, Obrigado and Sanctuary match!

In fact for temporary hacking use at least it is possible to omit log.xml - the following code works:

$logfn = '/path/to/log.data'; print Dumper (XMLin(<<EOENT )); <?xml version="1.0"?> <!DOCTYPE log [ <!ENTITY data SYSTEM "$logfn"> ]> <log>&data;</log> EOENT

Dingus


Enter any 47-digit prime number to continue.

Replies are listed 'Best First'.
Re(3): XML log files
by Dog and Pony (Priest) on Dec 05, 2002 at 17:23 UTC
    That is "Tusen Tack", not "Takk".

    *Grin*


    You have moved into a dark place.
    It is pitch black. You are likely to be eaten by a grue.
Thanks?
by crenz (Priest) on Dec 05, 2002 at 17:49 UTC

    You actually forgot xičxie, m'goi sai, khop-khun krap, terima kasih, salamat and Danggschee? What an ungrateful person... ;-)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2024-04-19 06:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found