|
Just did a Google search on C regexps. Apparently, there are some packages available, for example http://www.ncbi.nlm.nih.gov/IEB/ToolBox/C_DOC/lxr/source/regexp/ Basically, this resoves the problem of simple regexp-based XML parsing.
Now as far as binaries are concerned, it is really hard to see any reasonable justifications to bypass the regular XMK approach.
First way to deal with binaries is to keep them as regular files and refer to them by hyperlinks. Seconldly, images can be kept as blobs in the SQL database and extracted by request.
Best, Michael
|