Prints entire XML doc in show method
If you call parse_file from the REPL and neglect to put a semicolon after, LightXML will print out the whole document. It may be better to follow the example of the Array methods and only do a partial print if there's more data than will fit on one screen.
Not a bad idea, I guess. I'm not sure exactly which functions you'll need to implement to do this, maybe something with showcompact? I'd review a PR if you or anyone else can come up with something that works.
This is pretty important. I just tried to open some open street map data using LightXML and it crashed HARD (the file is like 200MB).
What about saving filesize somewhere and if larger than 1MB just print a warning?
EDIT: Found XML.jl has some sane defaults.