Xmerl and DTDs

Fredrik Linder fredrik.linder@REDACTED
Thu Oct 9 10:42:38 CEST 2003


Hello Jorge

Yes it can be done. We are currently using xmerl for this purpose (version
0.17).

The default behaviour of xmerl_scan is to read each DTD and put it into its
'rules' ets table. We use the 'event' callback feature to add the actual DTD
validation.

Good Luck
/Fredrik
  -----Original Message-----
  From: owner-erlang-questions@REDACTED
[mailto:owner-erlang-questions@REDACTED]On Behalf Of Jorge Manuel Neves
Coelho
  Sent: den 8 oktober 2003 14:40
  To: erlang-questions@REDACTED
  Subject: Xmerl and DTDs


  Hi!

  I'm using xmerl to process xml documents. I would like to validate
  these documents against a dtd, does any one know if it's possible to
  parse a DTD using xmerl? Or does anyone know another parser that
  is able to do this?

  Thank you,
  Jorge
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20031009/65c33a63/attachment.htm>


More information about the erlang-questions mailing list