Age | Commit message (Collapse) | Author |
|
Another step towards making pgxhtml more lightweight,
dependencies-wise.
|
|
The primary issue is that str:encode-uri function from EXSLT is not
available with HXT (but available with libxml's friends: libxslt and
libexslt, which are generally more complete). This function is
important for HTML documents.
Another reason is libxml being better documented and somewhat easier
to work with.
Yet another reason to switch is the intent to avoid dependencies that
reimplement common functionality, and/or normally get statically
linked.
|
|
- ResultError gets handled now
- No plain textual messages anymore
- An XML namespace is set, though an experimental one
Maybe the serialization should be changed to simplify templating. It
would also be nice to specify the schema (e.g., with relax ng), host
it, and use its URI for the namespace.
|
|
The initial working version, an example, and brief description are
included.
Error handling and reporting, perhaps HTTP headers, CLI arguments, and
documentation can still be improved, but that's for future commits.
|