<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>XForms Users Community Group</title>
	<atom:link href="http://www.w3.org/community/xformsusers/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.w3.org/community/xformsusers</link>
	<description></description>
	<lastBuildDate>Sun, 13 Jan 2013 06:28:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Editing ZIP Packages with XForms</title>
		<link>http://www.w3.org/community/xformsusers/2012/12/19/editing-zip-with-xforms/</link>
		<comments>http://www.w3.org/community/xformsusers/2012/12/19/editing-zip-with-xforms/#comments</comments>
		<pubDate>Wed, 19 Dec 2012 18:00:39 +0000</pubDate>
		<dc:creator>Alain Couthures</dc:creator>
				<category><![CDATA[Future Features]]></category>

		<guid isPermaLink="false">http://www.w3.org/community/xformsusers/?p=56</guid>
		<description><![CDATA[Binary formats are declining now for ZIP packages and XML documents are frequent in them. Microsoft Open XML (for Word, Excel, PowerPoint), Open Document Format (for OpenOffice, LibreOffice) and EPUB are all using ZIP packages. Any ZIP package is a &#8230; <a href="http://www.w3.org/community/xformsusers/2012/12/19/editing-zip-with-xforms/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Binary formats are declining now for ZIP packages and XML documents are frequent in them. Microsoft Open XML (for Word, Excel, PowerPoint), Open Document Format (for OpenOffice, LibreOffice) and EPUB are all using ZIP packages.</p>
<p>Any ZIP package is a flat collection of files and, eventually, folders. Files can refer to not-explicitly-defined folders by just mentioned them in their names. For example, &#8220;xl/worksheets/sheet1.xml&#8221; is a valid file name and no declaration is required for &#8220;xl&#8221; nor &#8220;worksheets&#8221; folders.</p>
<p>It is easy to extend XForms to allow ZIP packages editing:</p>
<p>First of all, mime types can be used to distinguish them. The default one is &#8220;application/zip&#8221; but there are many others such as &#8220;application/vnd.openxmlformats-officedocument.spreadsheetml.sheet&#8221; for Excel 2007. So, a mime type value can be used in a submission to indicate that a ZIP package will be sent or received.</p>
<p>An instance with such a mediatype can be initialized with @src but, if it is not possible, it has to be created with a temporary document. It means that when replacing an instance at the end of a submission, the mediatype is changed accordingly.</p>
<p>But, to access data in a ZIP package, a file name has to be provided. It implies that the instance() is to be called and that there must be an extra optional parameter for this file name. Adding a second parameter for the specific mediatype of the file might be helpful too. For example, to access the value of the B3 cell, the XPath expression will be: instance(&#8216;myworkbook&#8217;,'xl/worksheets/sheet1.xml&#8217;)/ss:sheetData/ss:row[@r = 3]/ss:c[@r = 'B3']/ss:is/ss:t</p>
<p>This is enough for extracting XML data from any ZIP package and modify it before submitting the modified ZIP package.</p>
<p>This has been experimented in XSLTForms with well-known zip_inflate and zip_deflate Javascript functions written by Masanao Izumo (http://www.onicos.com/staff/iz/amuse/javascript/expert/). For example, a form written with XSLTForms can be initialized with data coming from an Office file, it can modify it directly in the browser without the Microsoft Office Suite being installed locally.</p>
<p>For better Excel editing experience, XSLTForms uses XSLT to convert any shared string in an Excel sheet into an inline string. It allows to directly access and modify cell content in the same file. If formulas might have to be recalculated in the spreadsheets, instead of having to press Ctrl+Alt+F9, the simplest way is to add the attribute fullCalcOnLoad to the calcPr element in the workbook.xml document with &#8220;1&#8243; as value (this can easily be done with an insert action).</p>
<p>It is also easier to initialize the cells to be set with a dummy value because empty cells are not present in the XML serialization. A work instance with bindings to fill the Excel sheet is also a light way to design the form.</p>
<p>Full ZIP packages management would require to define extra actions to remove/add a file. But it is already possible to create a template ZIP package with the exact number of required files (for Excel, each sheet is represented a distinct file, itself being listed in other files).</p>
<p>Here is the example for this: <a title="http://www.agencexml.com/xsltforms/Workbook-Editor.xml" href="http://www.agencexml.com/xsltforms/Workbook-Editor.xml" rel="external nofollow">http://www.agencexml.com/xsltforms/Workbook-Editor.xml</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.w3.org/community/xformsusers/2012/12/19/editing-zip-with-xforms/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>XForms 2.0: Snapshots of drafts for review by WG and community</title>
		<link>http://www.w3.org/community/xformsusers/2012/11/22/xforms-2-0-snapshots-of-drafts-for-review-by-wg-and-community/</link>
		<comments>http://www.w3.org/community/xformsusers/2012/11/22/xforms-2-0-snapshots-of-drafts-for-review-by-wg-and-community/#comments</comments>
		<pubDate>Thu, 22 Nov 2012 14:33:25 +0000</pubDate>
		<dc:creator>Steven Pemberton</dc:creator>
				<category><![CDATA[Specifications]]></category>

		<guid isPermaLink="false">http://www.w3.org/community/xformsusers/?p=52</guid>
		<description><![CDATA[We have a draft of XForms 2.0 that we plan to use for last call shortly. The snapshots of the drafts for review by WG and community can be found at http://www.w3.org/MarkUp/Forms/Drafts/ (including a diff compared to the previous WD). &#8230; <a href="http://www.w3.org/community/xformsusers/2012/11/22/xforms-2-0-snapshots-of-drafts-for-review-by-wg-and-community/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>We have a draft of XForms 2.0 that we plan to use for last call shortly.</p>
<p>The snapshots of the drafts for review by WG and community can be found at http://www.w3.org/MarkUp/Forms/Drafts/ (including a diff compared to the previous WD).</p>
<p>All comments gratefully received!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.w3.org/community/xformsusers/2012/11/22/xforms-2-0-snapshots-of-drafts-for-review-by-wg-and-community/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Handling mouse events in XForms</title>
		<link>http://www.w3.org/community/xformsusers/2012/11/07/handling-mouse-events-in-xforms/</link>
		<comments>http://www.w3.org/community/xformsusers/2012/11/07/handling-mouse-events-in-xforms/#comments</comments>
		<pubDate>Wed, 07 Nov 2012 17:19:21 +0000</pubDate>
		<dc:creator>Steven Pemberton</dc:creator>
				<category><![CDATA[Examples]]></category>
		<category><![CDATA[Usage]]></category>

		<guid isPermaLink="false">http://www.w3.org/community/xformsusers/?p=44</guid>
		<description><![CDATA[I produced a quick XForm to demonstrate how to do mouse handling. You can find it here: http://www.cwi.nl/~steven/forms/mouse.xml Try clicking, double clicking, mouse wheel moves. I commented out mouse-move events, since so many of them are generated. You can also &#8230; <a href="http://www.w3.org/community/xformsusers/2012/11/07/handling-mouse-events-in-xforms/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I produced a quick XForm to demonstrate how to do mouse handling. You can find it here: <a href="http://www.cwi.nl/~steven/forms/mouse.xml" title="http://www.cwi.nl/~steven/forms/mouse.xml" rel="external nofollow">http://www.cwi.nl/~steven/forms/mouse.xml</a></p>
<p>Try clicking, double clicking, mouse wheel moves. I commented out mouse-move events, since so many of them are generated.</p>
<p>You can also see shift/alt/ctrl/meta keys working on mouse-down events (they work on other events, but I only show them on mouse-down).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.w3.org/community/xformsusers/2012/11/07/handling-mouse-events-in-xforms/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Health hacks and XForms</title>
		<link>http://www.w3.org/community/xformsusers/2012/10/24/35/</link>
		<comments>http://www.w3.org/community/xformsusers/2012/10/24/35/#comments</comments>
		<pubDate>Wed, 24 Oct 2012 16:14:15 +0000</pubDate>
		<dc:creator>Michael Odling-Smee</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.w3.org/community/xformsusers/?p=35</guid>
		<description><![CDATA[I thought you might be interested in an XForms based web application www.forms4health.com &#8211; the foundation for which was created at a 2-day health hack known as NHS hack-day (NHS is the National Health Service in the UK). At the hack &#8230; <a href="http://www.w3.org/community/xformsusers/2012/10/24/35/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I thought you might be interested in an XForms based web application <a href="http://www.forms4health.com" rel="external nofollow">www.forms4health.com</a> &#8211; the foundation for which was created at a 2-day health hack known as <a href="http://nhshackday.com/" rel="external nofollow">NHS hack-day</a> (NHS is the National Health Service in the UK).</p>
<p>At the hack I proposed an electronic forms based application specifically for pre-operative assessments (essentially a set of questions designed to ascertain the background health and associated anaesthetic risk for patient scheduled for surgery). As I had previous experience of XForms I wanted to use XForms to create the front end of the application. The main requirements I had were a good fit for XForms &#8211; see below:</p>
<ul>
<li>The form should be as intuitive as possible for the patients:</li>
<ul>
<li>This meant that the form should be based upon clearly laid out sections<span style="color: #999999"> &#8211; in this case I used the &lt;xf:switch/&gt; statement to present different sections.</span></li>
<li>Questions posed to the patient depend on their previous answers<span style="color: #999999"> &#8211; here I used a mixture of &lt;xf:group ref=&#8221;.[conditional statement]&#8220;&gt; and &lt;xf:bind id=&#8221;SomeId&#8221; relevant=&#8221;conditional statement&#8221;/&gt; &lt;xf:select1 bind=&#8221;SomeId&#8221;/&gt;</span></li>
<li>Errors on the form needed to be clearly highlighted to the user with associated help/hint text<span style="color: #999999"> &#8211; a feature directly supported by XForms</span></li>
<li>The form needed to be &#8220;pretty&#8221;<span style="color: #999999"> &#8211; Not being a UI expert I used Twitter&#8217;s <a href="http://twitter.github.com/bootstrap/" rel="external nofollow">bootstrap</a> to help style the form. This is still work in progress and I did need to figure out a few things but the integration so far with XSLTForms has not too been too painful.</span></li>
</ul>
<li>Options for select controls need to be sourced externally.</li>
<ul>
<li>In the current version of forms4health I have used a simple XML data models.</li>
<li>In a full blown application these may be more complex in be sourced from an standalone terminology server.</li>
<li><span style="color: #999999">Either way the use of &lt;xf:model/&gt; and the &lt;xf:itemset/&gt; allows this information to be losley coupled to the form.</span></li>
</ul>
<li>The results of the form need to be sent/saved as XML</li>
<ul>
<li>The healthcare administrator &#8220;booking&#8221; the assessment has a choice of PDF or XML as the output of the form submission <span style="color: #999999">- here I used XForms to send the XML to a background Java servlet that either forwarded the XML directly or created a PDF via XSL:FO / FOP.</span></li>
<li>Where XML is requested this is typically for integration with the healthcare institution&#8217;s own systems, however the specific XML may vary depending on healthcare facility. <span style="color: #999999">This implies the need for lose coupling between the UI and the data &#8211; The MVC architecture of XForms allows this coupling to be defined declaratively.</span></li>
</ul>
<li>The form needs to be available on a variety of platforms</li>
<ul>
<li><span style="color: #999999">In theory this is well aligned with XForms however (and I may be wrong) for now I think the majority of XForms applications are still being developed as web-sites/embeded in HTML. </span><span style="color: #999999"> I used XSTLForms as this supports a large number of web browsers, however I have pre-processed (transformed) the xml files to html to ensure as wide a compatibility as possible (you will be able to see the difference between <a href="http://www.forms4health.com/registration.html" rel="external nofollow">http://www.forms4health.com/registration.html</a> and <a href="http://www.forms4health.com/registration.xml" rel="external nofollow">http://www.forms4health.com/registration.xml</a> if you do &#8221;view source&#8221;)</span></li>
</ul>
<li>The form and associated functionality needed to be developed quickly</li>
<ul>
<li><span style="color: #999999">The declarative nature of XForms allowed us to build upon the excellent foundation provided by XForms to rapidly generate working applications</span></li>
</ul>
</ul>
<p>Overall XForms was great for being able to quickly create a very usable application with relatively simple/lightweight backend logic to produce a workable application. I am hoping the demo site will provide enough inspiration for an NHS (or other healthcare provider) organisation to sponsor the development of a fully functioning service.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.w3.org/community/xformsusers/2012/10/24/35/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>XForms 2.0 new features and limitations due to id attribute use</title>
		<link>http://www.w3.org/community/xformsusers/2012/10/20/xforms-2-0-new-features-and-limitations-due-to-id-attribute-use/</link>
		<comments>http://www.w3.org/community/xformsusers/2012/10/20/xforms-2-0-new-features-and-limitations-due-to-id-attribute-use/#comments</comments>
		<pubDate>Sat, 20 Oct 2012 09:19:49 +0000</pubDate>
		<dc:creator>Alain Couthures</dc:creator>
				<category><![CDATA[Future Features]]></category>

		<guid isPermaLink="false">http://www.w3.org/community/xformsusers/?p=24</guid>
		<description><![CDATA[With XForms 2.0, the switch control can have a new attribute named caseref. It can be very useful for authors in common situations: many forms require conditional parts according to a expression value. With this new attribute, the XForms switch &#8230; <a href="http://www.w3.org/community/xformsusers/2012/10/20/xforms-2-0-new-features-and-limitations-due-to-id-attribute-use/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>With XForms 2.0, the switch control can have a new attribute named caseref. It can be very useful for authors in common situations: many forms require conditional parts according to a expression value. With this new attribute, the XForms switch control is more similar to the Java/C switch statement</p>
<p>Authors with XForms usually use a workaround based on as many group controls and XPath predicates as necessary, as in &lt;group ref=&#8221;mycontext[mycondition_1]&#8220;&gt;&#8230;&lt;/group&gt;&lt;group ref=&#8221;mycontext[mycondition_2]&#8230;&lt;/group&gt;&#8230;</p>
<p>There is still a restriction because of the use of the id attribute: a case as to be unique in a form because it is identified with its id attribute value.</p>
<p>For big forms, for subforms, for switchs, the id attribute is too restrictive. The new var element is using the name attribute instead. Next version of XForms could benefit in getting ride of the id attribute and replacing it with the name attribute. XSLTForms is already generating missing ids according to the position of the element in the tree and ids could be generated from names with a similar approach without a big effort.</p>
<p>What do you think?</p>
Note: There is a poll embedded within this post, please visit the site to participate in this post's poll.
<p>Thanks!</p>
<p>-Alain</p>
]]></content:encoded>
			<wfw:commentRss>http://www.w3.org/community/xformsusers/2012/10/20/xforms-2-0-new-features-and-limitations-due-to-id-attribute-use/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>List of Implementations Migrated to Community Group</title>
		<link>http://www.w3.org/community/xformsusers/2012/03/26/list-of-implementations-migrated-to-community-group/</link>
		<comments>http://www.w3.org/community/xformsusers/2012/03/26/list-of-implementations-migrated-to-community-group/#comments</comments>
		<pubDate>Mon, 26 Mar 2012 15:09:13 +0000</pubDate>
		<dc:creator>Steven Pemberton</dc:creator>
				<category><![CDATA[Implementations]]></category>

		<guid isPermaLink="false">http://www.w3.org/community/xformsusers/?p=15</guid>
		<description><![CDATA[The list of XForms Implementations that used to be maintained by the XForms Working Group has now been migrated to the Community Group Wiki. Community Group members are encouraged to keep this up-to-date, and improve the entries for their own &#8230; <a href="http://www.w3.org/community/xformsusers/2012/03/26/list-of-implementations-migrated-to-community-group/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>The list of XForms Implementations that used to be maintained by the XForms Working Group has now been migrated to the <a href="http://www.w3.org/community/xformsusers/wiki/XForms_Implementations" title="XForms Implementations" rel="external nofollow">Community Group Wiki</a>.</p>
<p>Community Group members are encouraged to keep this up-to-date, and improve the entries for their own implementations.</p>
<p>New releases and upgrade releases announced in the news (though not daily releases) should be moved to the top of the list at the time of announcement so that the most active implementations bubble to the top of the list over time.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.w3.org/community/xformsusers/2012/03/26/list-of-implementations-migrated-to-community-group/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>XForms Users Community Group</title>
		<link>http://www.w3.org/community/xformsusers/2012/03/23/intro-2/</link>
		<comments>http://www.w3.org/community/xformsusers/2012/03/23/intro-2/#comments</comments>
		<pubDate>Fri, 23 Mar 2012 16:07:19 +0000</pubDate>
		<dc:creator>Steven Pemberton</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.w3.org/community/xformsusers/?p=7</guid>
		<description><![CDATA[This group gives us a number of resources: A wiki. An irc channel [irc://irc.w3.org:6665/#xformsusers] If you don&#8217;t have an IRC user agent, you can always use http://irc.w3.org/ . Mailing lists (public-xformsusers@w3.org and public-xformsusers-contrib@w3.org). You are encouraged to join: note that &#8230; <a href="http://www.w3.org/community/xformsusers/2012/03/23/intro-2/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This group gives us a number of resources:</p>
<ol>
<li>A <a title="Group Wiki" href="http://www.w3.org/community/xformsusers/wiki/Main_Page" rel="external nofollow">wiki</a>.</li>
<li>An irc channel [irc://irc.w3.org:6665/#xformsusers] If you don&#8217;t have an IRC user agent, you can always use <a title="IRC" href="http://irc.w3.org/" target="_blank" rel="external nofollow">http://irc.w3.org/</a> .</li>
<li>Mailing lists (<a title="Mailing list archives" href="http://lists.w3.org/Archives/Public/public-xformsusers/" rel="external nofollow">public-xformsusers@w3.org</a> and <a title="Mailing list archives" href="http://lists.w3.org/Archives/Public/public-xformsusers-contrib/" rel="external nofollow">public-xformsusers-contrib@w3.org</a>).</li>
</ol>
<p>You are encouraged to join: note that you don&#8217;t have to be a member of W3C to join, but you do have to agree to an IPR statement.</p>
<p>The initial aims of the group are:</p>
<ol>
<li>To encourage users of XForms to bring their discussions here, for discussion of techniques, usage, and suggestions to improvements and additions to the language.</li>
<li>Allow people to contribute to the <a title="XForms Test Suite" href="http://www.w3.org/MarkUp/Forms/Test/" rel="external nofollow">XForms test suite</a>.</li>
<li>Allow people to maintain the list of implementations.</li>
<li>Allow the XForms Working Group to give updates on <a title="XForms 2.0" href="http://www.w3.org/MarkUp/Forms/wiki/XForms_2.0" rel="external nofollow">XForms 2</a>.</li>
<li>Move the XForms+HTML Note/Rec document over to xformsusers to incubate it.</li>
</ol>
<p>This last is a note documenting how you combine XForms with (X)HTML; it will be converted to wiki markup and put on the Community Group&#8217;s wiki, allowing group members to contribute to it.</p>
<p>This is of course only an initial list of aims, brainstormed by the Working Group. It is up to the Users Group to further develop this list.</p>
<p>Currently the group has no chair. The group will decide on a chair once it has reached sufficient size.</p>
<p>For more information about Community Groups, see <a href="http://www.w3.org/community/" rel="external nofollow">Community and Business Groups</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.w3.org/community/xformsusers/2012/03/23/intro-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
