stop infopath or visual studio adding namespace to manifest.xsf

A

Andrew Stokes

Hi

I am trying to create an infopath form that generates a word document
containing data from the form using xsl ( see:
http://enterprise-solutions.swits.n...form-into-word-2007-document-xslt-c-sharp.htm).
This works a treat except that rules on form controls keep breaking with an
"Unspecified error" whenever the rule is triggered (see:
http://www.eggheadcafe.com/software/aspnet/31751814/dropdown-list-box-rules.aspx).

This problem is solved by removing the namespace
-xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - from the manifest.xsf
file. When I build the form in debug mode after having removed the offending
namespace (without viewing the form in the designer) the form works however
when I try to publish the form to a SharePoint document library Visual Studio
replaces the namespace in the manifest.xsf file and the form is once again
broken.

Can anyone tell me how I can publish this form without visual studio or
infopath adding the namespace which causes the problem, alternatively can I
build the form, extract the xsf and delete the namespace.

Thanks in advance

Andrew
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top