On 07/20/2010 11:15 AM, Mariusz Idzikowski wrote: > ----- Original Message ----- > From: "Hussein Shafie" <[email protected]> > To: "Mariusz Idzikowski" <[email protected]> > Cc: <[email protected]> > Sent: Tuesday, July 20, 2010 10:06 AM > Subject: Re: [XXE] checkValidity command and Schematron > >> This is not a bug. >> >> You apparently need a command which exactly works like "Tools|Check >> Validity" >> (http://www.xmlmind.com/xmleditor/_distrib/doc/help/toolsMenu.html). >> There is currently no such command. I mean, the command you need is >> definitely *not* checkValidity. > > I was looking for a command that would check the validity of the document > and update the display of the validation tool as part of a macro. The > overall goal of the macro is to correct some validation problems (detected > using Schematron). I just wanted to avoid the necessity of clicking the > validation button after the macro completes (in order to see if the > validation errors disappear). The checkValidity was the only ready-made > command that promised to do *some* kind of validation. > > Is there a way of running the validation tool from inside a macro then? Like > the command that is executed when the validate button is pressed? >
Sorry but, as said above, there is currently no such command. -- XMLmind XML Editor Support List [email protected] http://www.xmlmind.com/mailman/listinfo/xmleditor-support

