http://qs321.pair.com?node_id=217808


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... ;-)