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 />
</object>
<?import namespace="xf" implementation="#FormsPlayer"?>
<style>
.nodeselect .selected { background:'#F5F5F0'; }
.nodeselect .deselected { background:'#FFFFFF'; }
.nodeselect .label { width: 500px; border:0; }
.nodeselect .value { width: 20px; border:0; }
</style>
<head>
<xf:model id="inxml">
<xf:instance id="form">
<formroot>
<name>
<nm>None</nm>
</name>
</formroot>
</xf:instance>
<xf:instance id="input" src="formsplayer_bug.xml"/>
</xf:model>
</head>
<body>
<div style="position:absolute;background:'#F5F5F0';border:1 solid #D3D3D3;top:10;left:10;width:250;">
<xf:output>Select node(s) </xf:output><br></br>
<xf:select class="nodeselect" appearance="full" ref="instance('form')/name/nm">
<xf:itemset nodeset="instance('input')/name">
<xf:label ref="nm"/>
<xf:value ref="nm"/>
</xf:itemset>
<xf:rebuild ev:event="xforms-value-changed"/>
</xf:select>
</div>
</body>
</html>
Problem : formsplayer wraps names (/name/nm) containing dashes to separate lines, e.g.
name
-1-
for-
select
----------------------------------
Any ideas how to prevent wrapping ?
BR, Tapio

Recent comments
7 hours 20 min ago
21 hours 16 min ago
1 day 1 hour ago
1 day 22 hours ago
3 days 16 hours ago
5 days 1 hour ago
1 week 3 days ago
4 weeks 2 days ago
4 weeks 3 days ago
5 weeks 15 hours ago