A little known featuer allows you to do what you are wanting: <xsf:view designMode="protected">. This will require a manual update to your manifest.xsf file.
This is from the IP help file:
You can create a custom view for a form template by creating an XSL Transformation (XSLT) (*.xsl) file that contains constructs that are not supported in design mode in InfoPath. To ensure that a view can't be opened in design mode (and to prevent data loss), set the designMode attribute in the form definition file (.xsf) to "protected". Protected views are shown in all views lists and users can be fill them out like all forms, but they cannot be opened in design mode. If the designMode attribute is specified as "normal" or is not specified, the view can be opened in design mode.
Example
The following is an example of the designMode attribute as it is used in the view element:
<xsf:view name="View" caption="View" designMode="protected">
<xsf:mainpane transform="view1.xsl"/>
...
</xsf:view>
--
Greg Collins [InfoPath MVP]
Visit
http://www.InfoPathDev.com
Infopath generates the view.xsl code,
Is there documentation to be able to write this outside of infopath ?
Also, if I have already an XSL that works, why should I not be able to use
it in infopath ?