in reply to XML compression?

Since XML is just text -- why not search for text compression? But to answer your question -- yes this seems very possible. But is it practical? What I don't understand, however, is why you give the users the ability to alter the contents in the first place. My solution would be to prevent them from having access to the files.

But search CPAN and see if one of the many archiving and compression modules suites your needs. Feel free to ask specific questions about which ever module you pick if you run into troubles (installing, using, etc.).

UPDATE: I like CountZero's suggestion. :)

jeffa

L-LL-L--L-LL-L--L-LL-L--
-R--R-RR-R--R-RR-R--R-RR
B--B--B--B--B--B--B--B--
H---H---H---H---H---H---
(the triplet paradiddle with high-hat)

Replies are listed 'Best First'.
Re^2: XML compression?
by Anonymous Monk on Nov 11, 2008 at 19:23 UTC
    Thanks jeffa,

    I don't intentionally give users access but I'm afraid of the curious person poking at the install directory :)

Re^2: XML compression?
by Anonymous Monk on Nov 11, 2008 at 19:24 UTC
    You make a good point...I'm on a win32 box so I'm not sure how to restrict users from altering the files if they do find them.