pipeline validation problem

How to validate the pipeline against IS document type…
as i am a beginer i can not understand the concepts could you please explain me?

Imran,

Are you processing XML file? If yes you can create IS schema from xsd and use it for validating the xml.
Refer developer’s user guide for more information.

Hi Imran,

With addition to shahid’s post ,you can use pub.shema.validatePipeline to validate the pipeline data (doctype is the input) ,which compare the pipeline doc value to the doctype defination and return you the result with error if any.

Cheers,
Samrit