| re: Repost: Merging external data with html (not dotnet) form
Hi
I guess you will have to use regular expressions to parse the html file
and then replace the data in html with appropriate data from xml. And then
you can render this html on the browser.
Thanks
"Jim Adams" wrote:
[color=blue]
> My ASP.Net (VB.Net) app needs to display a filled in form to a web
> user from the following:
>
> a) read HTML form files (not ascx) dynamically from disk (e.g.
> form.html)
> b) read its corresponding submitted values from disk (e.g. form.xml)
>
> The form data should be merged back into the HTML form so that when
> displayed to the user, the form looks exactly like it did the moment
> before
> they clicked the form's Submit button.
>
> Any ideas on an approach would be great appreciated.
>
> (I've received some input about how to do it by converting forms into
> ascx and programmatically stepping through the controls collection,
> but unfortunately, in this case, forms will be standard HTML and not
> ..Net.
>
> Thanks for any insights!
>
> Jim
>[/color] |