- From: Bernhard Zwischenbrugger <datenkueche2001@yahoo.de>
- Date: Fri, 30 Aug 2002 11:09:49 +0200 (CEST)
- To: Robert Trybis <rt@cygnets.co.uk>
- Cc: www-forms@w3.org
I'm working on that. I use libxslt with some exslt extrensions (http://www.exslt.org). It will work this way ===================== Generate XHTML: xhtml/xforms + instancedata.xml --xslt-> xhtml/javascript The Browser will submit XML to the Webserver!!!! Here some pseudo code: // Javascript generated by XSLT function submit() { xmlToPost='<?xml version="1.0" encoding="utf-8"?> <test> <name>'+document.formXY.fieldXY.value+'</name> </test>'; docuemnt.hiddenform.textareaXY.value=xmlToPost; document.hiddenform.submit(); } // End Javascript generated by XSLT ###xslt############ <xsl:template match="//xforms:secret" mode="all"> <xsl:value-of select="xforms:caption"/>:<br/> <input type="password" name="{@ref} value="{myexslt:getInstanceData(@ref)}"/><br/> </xsl:template> --------------------- I will not support the full XForms standard, but if you want, I can start a SourceForge Project. Hope you get an idea of the thing I try to develop. Bernhard http://datenkueche.com __________________________________________________________________ Gesendet von Yahoo! Mail - http://mail.yahoo.de Möchten Sie mit einem Gruß antworten? http://grusskarten.yahoo.de
Received on Friday, 30 August 2002 05:09:51 UTC