I don't think you can change the schema definition of an XML file on-the-fly.
What you could do however is create your own XSD and base your form template
on that. This article might help: http://support.microsoft.com/kb/827006
---
S.Y.M. Wong-A-Ton
> is there a way to change the schema definition while generating xml file from
> the infopath form.
[quoted text clipped - 19 lines]
>
> Thanks
Dave - 24 Sep 2007 15:06 GMT
I did that but even when you select external schema file, it try's to put its
own microsoft reference rather than the one specified in the external schema.
Dave
> I don't think you can change the schema definition of an XML file on-the-fly.
> What you could do however is create your own XSD and base your form template
[quoted text clipped - 25 lines]
> >
> > Thanks