Re: Capturing XML validation output

2005-07-11 Thread Ivan Ivanov
Yaakov, You need to iterate over your directories and do the validating operation for each of them. You may find task[1] useful (untested pseudo code): HTH Ivan [1]http://ant-contrib.sourceforge.net/tasks/tasks/for.html --- Yaakov Chaikin <[EMAIL PROTECTED]> wrot

Re: Capturing XML validation output

2005-07-11 Thread Yaakov Chaikin
Thanks to both of you for replying. However, how would I have each directory have its own dtdOutput.txt? Thanks, Yaakov. On 7/10/05, Kristian Perkins <[EMAIL PROTECTED]> wrote: > I didn't think you could nest tasks inside , in which case you might > like to try something like this untested versi

Re: Capturing XML validation output

2005-07-10 Thread Ivan Ivanov
Kristian, yes, you are right. task does not allow task nesting, of course. Your snippet is more close to truth than mine. Thank you for noting the error. Regards Ivan --- Kristian Perkins <[EMAIL PROTECTED]> wrote: > I didn't think you could nest tasks inside , > in which case you might like t

Re: Capturing XML validation output

2005-07-10 Thread Kristian Perkins
I didn't think you could nest tasks inside , in which case you might like to try something like this untested version: Ivan Ivanov wrote: Yaakov, I think that you can use [1] task for validation of your xml files and task to capture the output of the validation (untested but might g

Re: Capturing XML validation output

2005-07-10 Thread Ivan Ivanov
Yaakov, I think that you can use [1] task for validation of your xml files and task to capture the output of the validation (untested but might give you an idea): HTH Ivan [1]http://ant.apache.org/manual/OptionalTasks/xmlvalidate.html [2]http://ant.apache.org/manual/CoreTasks/recorder.h

Capturing XML validation output

2005-07-10 Thread Yaakov Chaikin
Hi, Could someone point me in the right direction on the following... I have these directories: root project1 project2 project3 ... Each project contains XML file declared with a DTD, the DTD file, XML file declared with a Schema, the Schema file. What I would like to get ANT to do is to