M
Malcolm McLean
As part of the binary image processing library work I had to load some XML
files. There doesn't seem to be a lightweight XML parser available on the web.
Plenty of bloated ones that require full-fledged installs. But nothing you
can just grab and compile.
So I decided to write a vanilla one myself. It did the job, and loaded my
data files. But it only weighs in as a single average-length source file.
That's partly because it only does ascii, doesn't handle defined entities
or special tags, and so on.
But is there the potential for this to be developed into a lightweight, single
file parser? Ther's also a question for Jacob here. The structure is simply
a tree. How would the container library map on to XML?
files. There doesn't seem to be a lightweight XML parser available on the web.
Plenty of bloated ones that require full-fledged installs. But nothing you
can just grab and compile.
So I decided to write a vanilla one myself. It did the job, and loaded my
data files. But it only weighs in as a single average-length source file.
That's partly because it only does ascii, doesn't handle defined entities
or special tags, and so on.
But is there the potential for this to be developed into a lightweight, single
file parser? Ther's also a question for Jacob here. The structure is simply
a tree. How would the container library map on to XML?