xform
The XForm accessor reference
Release Notes
attachGoldenThread
cast
copy
cutGoldenThread
cwu
delete
dpml
dump
entrypoint
exists
expire
fls
guid
hotRestart
HTTPCookie
HTTPRedirect
isUnix
locationToXPath
lock/unlock
log
loglevel
luceneIndex
luceneSearch
mapper
mapper-export
md5
mls
netkernel:*
new
Orchextra
org.ten60.util.aspell
org.ten60.util.image.SVG2PNG
org.ten60.util.image.Text2PNG
org.ten60.util.image.xchart
plainTextToXHTML
regex
relativizeURI
requestWithArgs
resolveURI
serialize
sleep
sqlBatch
sqlBooleanQuery
SQLEncodeElement
SQLEscapeXML
sqlQuery
sqlUpdate
stm
stopWatch
StringToCanonicalString
throw
toRelaxNG
trace
validateDTD
validateRNG
validateSchematron
validateXSD
xacml
xform
XHREFlinker
XHTMLredirect
XHTMLTidy
xinclude
xmltidy
xpatheval
xpur
xquery
xrl
xsign
xslfo-fop
xslfo-fop
xslt
xverify
License
Change History
NetKernel History
Acknowledgements

XForm

An accessor to prepare and execute an XForm

Module

urn:org:ten60:netkernel:mod:xforms

Definition

Format

<instr>
  <type>XForm</type>
  <xform>var:xform</xform>
  <xslt>/www/view/style_my_xform.xsl</xslt>
  <param>this:param</param>
  <session>this:param:session</session>
  <target>this:response</target>
</instr>

Syntax

ElementRulesDescription
typeMandatory XForm
xformMandatory the URI of the XForm
xsltMandatory the URI of the XSLT to style the XForm
paramMandatory The NVP parameter document to update the form with
sessionMandatory The URI of the session
targetMandatory Fragment OKtarget resource

XForms are a recently completed second generation HTML form technology. The XForm accessor is a server-side implementation of XForms. It is used to prepare, execute, update and style an XForm document.

The XForm accessor requires an <xform> argument that supplies the initial XForm document. The <xslt> argument provides the XSLT stylesheet to use to style the XForm model into an XHTML Form. The <param> argument provides the current XForms instance submission. The value of the instance data is used to update the XForms model. XForms are stateful, the XForm model must be preserved between interactions. The XForm is saved under the key xform to the session URI supplied in the <session> argument.

The XForm accessor is the Controller in a Model-View-Controller pattern of XForms processing. Please see the XForm Processing Guide for examples and discussion of use.


1060® NetKernelTM Documentation
(C) 2003-2004 1060 Research Limited

Send Feedback

© 2003,2004, 1060® Research Limited
1060 registered trademark, NetKernel trademark of 1060 Research Limited