Home
The Toolkit for Online Communities
15903 Community Members, 1 member online, 2323 visitors today
Log In Register

Forum OpenACS Development: Checking DTD compliance of an XML file

OpenACS Home : Forums : OpenACS Development : Checking DTD compliance of an XML file

Icon of Envelope Request notifications

+
Posted by Peter Marklund on
Does anyone have experience checking that an XML file is well formed and complies with a certain DTD or schema? I would like to add such a check for our message catalog files. Sometimes when those files are hand edited they are messed up. The same thing goes for our .info files.
+
Posted by Alfred Werner on
Look on http://groups.yahoo.com/group/tdom/ and type DTD in the search box, there are lots of good examples.
+
Posted by Bart Teeuwisse on
Another option is to use PSGML in Emacs. You can then check the XML document as you write/modify it.

/Bart