Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Re: XML log files

by dingus (Friar)
on Dec 05, 2002 at 16:27 UTC ( #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
Node Status?
node history
Node Type: note [id://217808]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2019-10-19 20:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?