Hi,
I don't know with your code but if you remove the PI in the xml that don't
open with infopath
And you can make better if you take your view1.xsl (default name) out of
infopath project(xsn with winzip for example) and you add this under the PI
<?xml-stylesheet type="text/xsl" href="view1.xsl"?>
and if the infopath is not installed on the machine that load automatically
with the xsl (only the vision is correct the validation and all this things
work not)!!!
Good luck
Thierry
"Jason Bailey" a écrit :
> Hello,
> I'm using the following code:
[quoted text clipped - 15 lines]
> Thanks
> Jason
Jason Bailey - 28 Apr 2005 11:17 GMT
> Hi,
>
[quoted text clipped - 3 lines]
> And you can make better if you take your view1.xsl (default name) out of
> infopath project(xsn with winzip for example) and you add this under the PI
> Good luck
>
> Thierry
Hi and thanks. I still want the form available to Infopath users. I just
want to have to some code create an infopath form based on other XML data
(XML data captured by PHP web form). The idea is automate the creation of
infopath xml forms which are then used by people afterwards. I've sort of got
round it by using myapp.quit but I just assumed that I'd be able to open an
Infopath XML file in the same way as a standard XML file.
Jason
virgul - 28 Apr 2005 14:00 GMT
So the only things you need is that the xml is valid for the XMLschema in
infopath and you have to add the PI in the xml (every xsn has a different PI)
So create a xml with your xsn (fill the form send in your e-mail for example)
open this xml copy the second line of your infopath xml and add it to the
xml that you wan't to open with infopath!!!
good luck
Thierry
> > Hi,
> >
[quoted text clipped - 16 lines]
>
> Jason