[Xsltforms-support] HTML preview option
Brought to you by:
alain-couthures
|
From: Winona S. <wsa...@gm...> - 2023-04-18 23:28:58
|
Hi All,
I am building a preview HTML page for my form by POSTing my data to an
xquery, which runs the XML through an XSLT which outputs in a new window
using the following submit:
<xf:submission id="s-view-html" ref="instance('i-rec')" show="new" replace=
"all" instance="i-submission" method="post" action=
"services/submit.xql?type=previewHTML"/>
This works almost as expected, except, my HTML comes back slightly mangled.
By that I mean, some divs are nested in other sibling divs. (I can provide
the screen shots if needed.) This XSLT is used by my main website to output
HTML, so I have something to compare it to, and the version run through the
form is coming out incorrectly. I assume this has something to do with the
output being run through the XSLTforms processor, preprocessing my returned
HTML. Is there any way I can turn that off just for this view, so it does
not touch the returned HTML file?
Thanks for the help,
-Winona
|