[Ocaml-pxp-users] Handling undeclared entities

Dario Teixeira darioteixeira at yahoo.com
Fri Jul 17 08:15:05 PDT 2009


Hi,

> Sure. The entity declarations need only to be put into the dtd object at
> the right moment. The parsing functions have a callback for exactly that
> purpose, ~transform_dtd, e.g.

Thanks for your help, Gerd.  It's not a perfect solution -- since the
document tree will lose information about where entities were declared --
but that's not too serious a problem.

Best regards,
Dario Teixeira

P.S. Many thanks for PXP -- it's a great tool!



      


More information about the Ocaml-pxp-users mailing list