Hello,
I'm trying to validate a XML file with a DTD.
tdom has no validator by itself, but you can use an extension of expat to validate documents, nodes, etc. Syntax is:
package require tdom
package require tnc
set parser [expat]
tnc $parser enable
validateDocument domDocument ?varName?
The problem i have found is that i got a
"invalid command name 'tnc'"
I guess i have to install the required 'tnc' extension, but i'm not sure which is the best way to do it.
Anyone can help me?