Hi!
I'm having a tough time finding where I can use commands to replicate the ticky-box behavior of the GUI to say "use the Java parser" and "parse against the DTD".
What I want to be able to do is parse a given document against three different DTDs, validating it each time. It needs to parse against the specific DTD because these DTDs have fixed attributes, and if I don't parse the documents on load, the fixed attribute won't be there and validation will fail.
Thanks! Graydon
Hi Graydon,
if you activate the Info View in the GUI, you will see which commands are used to set the options and run the operations. In your case, INTPARSE and DTD are the appropriate options to set [1].
Best, Christian
[1] http://docs.basex.org/wiki/Options#XML_Parsing ___________________________
On Mon, Apr 29, 2013 at 7:21 PM, Graydon Saunders graydonish@gmail.com wrote:
Hi!
I'm having a tough time finding where I can use commands to replicate the ticky-box behavior of the GUI to say "use the Java parser" and "parse against the DTD".
What I want to be able to do is parse a given document against three different DTDs, validating it each time. It needs to parse against the specific DTD because these DTDs have fixed attributes, and if I don't parse the documents on load, the fixed attribute won't be there and validation will fail.
Thanks! Graydon
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
basex-talk@mailman.uni-konstanz.de