Hi XSLTForms list,

As you may know, using XSLTForms in the local filesytem without a 
webserver is practically impossible due to javscript security 
restrictions and saving an XML Instance to a local file is totally 
impossible.

A solution is to use a eXist-db or a localhost webserver with some 
script to handle post or put and save the file.

There is a really small and easy to use web server called NanoHTTPD 
http://elonen.iki.fi/code/nanohttpd/ made of just one Java file.

I made a small modification on it to allow handling PUT method, and 
wrote a subclass of NanoHTTPD that handles PUT or xml-urlencoded-post 
submissions and saves xml instances to local files.

I hope you'll find it useful for testing XForms, teaching (I personally 
will use it for teaching XForms to my University students) or even 
creating standalone XForms applications.

You can download NanoXFServer on http://bitlab.com.co/nanoxfserver/

All your comments are welcome!


-- 
William David Velasquez
Laboratorio de Software Bitlab
http://bitlab.com.co
Movil 310 412 0218

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Xsltforms-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xsltforms-support

Reply via email to