Error message - InfoPath Dev
in

InfoPath Dev

Error message

Last post 04-27-2006 04:03 PM by Carlos. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 04-26-2006 09:53 PM

    • Carlos
    • Top 500 Contributor
    • Joined on 01-24-2006
    • Australia
    • Posts 31

    Error message

    Can someone please tell me how to overcome this error:

    InfoPath cannot open the following view: View 1
    The following view file is not valid: view1.xsl
    The .xsl file is not valid XSL.
    xsl:choose must have at least one xsl:when child.

    I have tried to resave and publish numerous times and still doesnt work. I cannot understand why this has happened. Last time I used this form there was no issues, now I go to open it and it gives me greif. Id really like to avoid re-doing the form from scratch!!

    Cheers,
  • 04-27-2006 12:07 AM In reply to

    Hi,

    Have you modify your view.xsl?

    If it's the case you need to search where you have insert a xsl:choose and correct it

    If it's not the case you must open your view.xsl and search for xsl:choose and see where where the error is and correct this.

    correct structure of xsl:choose see here:

    http://www.w3schools.com/xsl/el_choose.asp

    ++

    Thierry
    Infopath 2007, Langage: C#2.0 (Modèle Objet 2003)
    merci de lire ceci
  • 04-27-2006 04:03 PM In reply to

    • Carlos
    • Top 500 Contributor
    • Joined on 01-24-2006
    • Australia
    • Posts 31
    Thanks for the post. I havent modified it, hence why im surprised to find it giving me grief. This is all new to me, so ill check it out. Suppose the worse case scenario is to create a new form....
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.