XML Validate

This task allows you to Validate XML files in a folder or an entire directory tree.
Source Directory
Enter the full pathname of the directory where your source files exists.
Target Directory
Enter the full pathname of the directory where you need to put the target files.
Filename
Enter the filename filter for the files you wish to copy using the following wildcard rules. This field also supports dynamic variables.
Folder Path Filter
Leave this field blank if you want all folders to be processed. If you need specific folders to be processed, then enter the folder name or path,using the following wildcard rules.
If a folder passes the filter, then all its subfolders will also passthe filter.
Simple Example: Folder = c:\test , subfolders = john, john\old, sam, sam\old, joe, joe\old
Folder path filter = john . john and john\old are processed
Folder path filter = jo . john, john\old, joe, joe\old are processed
Folder path filter = old . sam\old, john\old, joe\old are processed
Folder path filter = test . all files in c:\test and its sub folders are processed
Folder path filter = john\old. only john\old is processed.
Folder path filter = c:\test\john . john and john\old are processed
Validation Method
Select the validation method required. Most commonly used validation methods are WellFormed Only and External XSD.
Validation Filepath
This field is needed for the External File validation method. You can dynamically use the Current XML filename variables and current folder variable. This allows to select a different External validation file for every XML file.
Example: $%taskTitle::CurrentFolder%$\$%taskTitle::CurrentXmlFileWithoutExtension%$.xsd
i.e. if xml file is c:\temp\test.xml, the above variables would set the validation filepath as: c:\temp\test.xsd