formsPlayer 1.4.x

Formsplayer wraps text containing dashes

Using IE6, formsplayer seems to wrap text if it contains dashes, samples below :

SAMPLE XML:

<?xml version="1.0" encoding="UTF-8"?>
<List>
	<name>
		<nm>name-1-for-select</nm>
		<nid>846898</nid>
	</name>
	<name>
		<nm>name-2-for-select</nm>
		<nid>846975</nid>
	</name>
</List>

SAMPLE XFORMS HTML :

<?xml version="1.0" encoding="UTF-8"?>
<html
	xmlns="http://www.w3.org/1999/xhtml"
	xmlns:xf="http://www.w3.org/2002/xforms"
	xmlns:ev="http://www.w3.org/2001/xml-events">
	
	<object id="FormsPlayer" classid="CLSID:4D0ABA11-C5F0-4478-991A-375C4B648F58" 
		width="0" height="0">
		<b>FormsPlayer has failed to load! Please check your installation.</b>
		<br />
		<br />

need the latest documentation

hi,

I just join here, one newbie,
I want to learn but can't find doc, any helps?

Thanks.

------------------
from softsea

TimeZone information

Hello

How do I get the timezone information of the client using Xform. I need to get the timezone information or the GMT offset information. Is there a way to get it ?

Please let me know.

days-from-date()

number days-from-date(string)

This function returns a whole number of days, according to the following rules:

  1. If the string parameter represents a legal lexical xsd:date or xsd:dateTime, the return value is equal to the number of days difference between the specified date or dateTime (normalized to UTC) and 1970-01-01.
  2. Hour, minute, and second components are ignored after normalisation.
  3. Any other input parameter causes a return value of NaN.

Examples:

days-from-date("2002-01-01")

returns 11688

days-from-date("1969-12-31")

returns -1

instance()

node-set instance(string)

An XForms Model can contain more that one instance. This function allows access to instance data, within the same XForms Model, but outside the instance data containing the context node.

The argument is converted to a string as if by a call to the string function. This string is treated as an IDREF, which is matched against instance elements in the containing document. If a match is located, and the matching instance data is associated with the same XForms Model as the current context node, this function returns a node-set containing just the root element node (also called the document element node) of the referenced instance data. In all other cases, an empty node-set is returned.

Example:

For instance data corresponding to this XML:

formsPlayer 1.4.3.1032 available

A new release of formsPlayer is available that fixes a couple of bugs and provides more control over the styling of messages.

formsPlayer 1.4.3.1028 is available

One of the main goals for formsPlayer 1.4 was to fully support the second edition of XForms 1.0, since the new release of the specification contained quite a few clarifications as to how things should be implemented. In the process of doing this, we've also added asynchronous submissions, conditional and repeating action handlers (from XForms 1.1), better CSS support, numerous bug fixes and some speed improvements.