Skip to content

Instantly share code, notes, and snippets.

@LegoStormtroopr
Created October 8, 2012 04:21
Show Gist options
  • Save LegoStormtroopr/3850705 to your computer and use it in GitHub Desktop.
Save LegoStormtroopr/3850705 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="././xsltforms-beta2/xsltforms/xsltforms.xsl" type="text/xsl"?><?xsltforms-options debug="no"?><html xmlns="http://www.w3.org/1999/xhtml"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:fn="http://www.w3.org/2005/xpath-functions"
xmlns:xf="http://www.w3.org/2002/xforms"
xmlns:ev="http://www.w3.org/2001/xml-events"
xmlns:rml="http://legostormtoopr/response">
<head>
<title>Australian Dog Ownership Survey</title>
<xhtml:link rel="stylesheet"
type="text/css"
href=".//themes/koala/./Questionnaire.css"/>
<xf:model>
<xf:instance>
<rml:respondent xmlns="">
<rml:populations/>
<rml:instrument>
<rml:sequence id="DogSurvey">
<rml:response id="DogSurvey_QC_05" questionItemID="DogSurvey_Q_05"/>
<rml:if id="DogSurvey_IF_1">
<rml:osc>
<rml:condition question="DogSurvey_QC_05">1</rml:condition>
</rml:osc>
<rml:then>
<rml:sequence id="seq_1">
<rml:response id="DogSurvey_QC_10" questionItemID="DogSurvey_Q_10"/>
<rml:response id="DogSurvey_QC_20" questionItemID="DogSurvey_Q_20"/>
<rml:sequence id="seq_3">
<rml:response id="DogSurvey_QC_30" questionItemID="DogSurvey_Q_30"/>
<rml:if id="DogSurvey_IF_2">
<rml:osc>
<rml:condition question="DogSurvey_QC_30">1</rml:condition>
</rml:osc>
<rml:then>
<rml:response id="DogSurvey_QC_40" questionItemID="DogSurvey_Q_40"/>
</rml:then>
</rml:if>
</rml:sequence>
</rml:sequence>
</rml:then>
<rml:else>
<rml:sequence id="seq_2">
<rml:response id="DogSurvey_QC_06" questionItemID="DogSurvey_Q_06">
<rml:multipart>
<rml:subresponse id="DogSurvey_Q_07a"/>
<rml:subresponse id="DogSurvey_Q_07b"/>
</rml:multipart>
</rml:response>
</rml:sequence>
</rml:else>
</rml:if>
<rml:sequence id="seq_5">
<rml:response id="DogSurvey_QC_80" questionItemID="DogSurvey_Q_80"/>
</rml:sequence>
</rml:sequence>
</rml:instrument>
<rml:wordsubs id="codeScheme-Sex-MF">
<rml:wordsub value="1" subtext="he"/>
<rml:wordsub value="2" subtext="she"/>
</rml:wordsubs>
<rml:wordsubs id="codeScheme-no_dog">
<rml:wordsub value="1" subtext=""/>
<rml:wordsub value="2" subtext=""/>
<rml:wordsub value="3" subtext=""/>
<rml:wordsub value="4" subtext=""/>
<rml:wordsub value="5" subtext=""/>
</rml:wordsubs>
<rml:wordsubs id="codeScheme-YesNo">
<rml:wordsub value="1" subtext=""/>
<rml:wordsub value="2" subtext=""/>
</rml:wordsubs>
</rml:respondent>
</xf:instance>
<xf:bind id="bindQuestion-DogSurvey_QC_10"
nodeset="//rml:response[@id='DogSurvey_QC_10']"/>
<xf:bind id="bindQuestion-DogSurvey_QC_20"
nodeset="//rml:response[@id='DogSurvey_QC_20']"/>
<xf:bind id="bindQuestion-DogSurvey_QC_25"
nodeset="//rml:response[@id='DogSurvey_QC_25']"/>
<xf:bind id="bindQuestion-DogSurvey_QC_30"
nodeset="//rml:response[@id='DogSurvey_QC_30']"/>
<xf:bind id="bindQuestion-DogSurvey_QC_40"
nodeset="//rml:response[@id='DogSurvey_QC_40']"/>
<xf:bind id="bindQuestion-DogSurvey_QC_05"
nodeset="//rml:response[@id='DogSurvey_QC_05']"/>
<xf:bind id="bindQuestion-DogSurvey_Q_07a"
nodeset="//rml:subresponse[@id='DogSurvey_Q_07a']"/>
<xf:bind id="bindQuestion-DogSurvey_Q_07b"
nodeset="//rml:subresponse[@id='DogSurvey_Q_07b']"/>
<xf:bind id="bindQuestion-DogSurvey_QC_80"
nodeset="//rml:response[@id='DogSurvey_QC_80']"/>
<xf:bind id="bindThen-DogSurvey_IF_3"
nodeset="//rml:if[@id='DogSurvey_IF_3']/rml:then"
relevant="//rml:response[@id='DogSurvey_QC_20'] = 2"
readonly="not(//rml:response[@id='DogSurvey_QC_20'] = 2)"/>
<xf:bind id="bindElse-DogSurvey_IF_3"
nodeset="//rml:if[@id='DogSurvey_IF_3']/rml:else"
relevant="not(//rml:response[@id='DogSurvey_QC_20'] = 2)"
readonly="//rml:response[@id='DogSurvey_QC_20'] = 2"/>
<xf:bind id="bindThen-DogSurvey_IF_2"
nodeset="//rml:if[@id='DogSurvey_IF_2']/rml:then"
relevant="//rml:response[@id='DogSurvey_QC_30'] = 1"
readonly="not(//rml:response[@id='DogSurvey_QC_30'] = 1)"/>
<xf:bind id="bindElse-DogSurvey_IF_2"
nodeset="//rml:if[@id='DogSurvey_IF_2']/rml:else"
relevant="not(//rml:response[@id='DogSurvey_QC_30'] = 1)"
readonly="//rml:response[@id='DogSurvey_QC_30'] = 1"/>
<xf:bind id="bindThen-DogSurvey_IF_1"
nodeset="//rml:if[@id='DogSurvey_IF_1']/rml:then"
relevant="//rml:response[@id='DogSurvey_QC_05'] = 1"
readonly="not(//rml:response[@id='DogSurvey_QC_05'] = 1)"/>
<xf:bind id="bindElse-DogSurvey_IF_1"
nodeset="//rml:if[@id='DogSurvey_IF_1']/rml:else"
relevant="not(//rml:response[@id='DogSurvey_QC_05'] = 1)"
readonly="//rml:response[@id='DogSurvey_QC_05'] = 1"/>
<xf:submission id="saveLocally"
method="put"
action="file://C:/temp/saved_survey.xml"/>
<xf:submission id="saveRemotely"
method="post"
action="http://127.0.0.1:8080/submit"/>
</xf:model>
</head>
<body>
<div id="majorsections">
<xhtml:img src=".//themes/koala/./200px-Koala_svg.png"
width="147"
height="147"
class="logo"/>
<h2>Major Sections</h2>
<ol>
<li>
<a href="#DogSurvey">Australian Dog Survey main sequence</a>
</li>
<li>
<a href="#seq_1">Dog demographics &amp; activities</a>
</li>
<li>
<a href="#seq_2">Reasons for non-ownership</a>
</li>
<li>
<a href="#seq_3">Exercise activities</a>
</li>
<li>
<a href="#seq_5">Comments</a>
</li>
</ol>
</div>
<div id="survey">
<h1>Australian Dog Ownership Survey</h1>
<div class="instrumentDescription">
<p xmlns="">
<strong>This is an example <a href="http://www.ddialliance.org">DDI 3.1 File</a> for demonstrating the capabilities of the <em>Ramona DDI3.1 to XForms Transform Engine</em>.</strong>
</p>
<div xmlns=""> This survey can be used to demonstrate the following common interactive survey requirements:
<ul>
<li>
<strong>Question sequencing: </strong>Answering no to Question 1 will allow a respondent to bypass questions 2-5.</li>
<li>
<strong>Skip generation: </strong>Depending on how a respondent answers a <em>coded</em> questions, they will be presented with an in-document hyperlink to take them to the next available question.</li>
<li>
<strong>Word substitutions: </strong>The answers in question 2 and 3 are used to dynamically personalise the form. Question 2 will insert the name of the dog in question 3, and the response to question 3 will add the correct gendered pronoun to questions 4 and 5.</li>
</ul>
</div>
<h2 xmlns="">Purpose of Collection</h2>To gather information on dog ownership and habits.</div>
<div xmlns="" class="mainForm"><!--Start of DogSurvey--><a name="DogSurvey_QC_05"/>
<!--Start of question DogSurvey_Q_05--><span class="questionNumber">1.</span>
<xf:select1 bind="bindQuestion-DogSurvey_QC_05" appearance="full">
<xf:label>
<span class="questionText">
<span class="words">
Do you own a dog?
</span>
</span>
</xf:label>
<xf:item>
<xf:label>Yes<span class="skipRemark">
<xf:group bind="bindThen-DogSurvey_IF_1">
<span class="skipStatement" id="">
Go to <a href="#DogSurvey_QC_10">
Question 2</a>
</span>
</xf:group>
</span>
</xf:label>
<xf:value>1</xf:value>
</xf:item>
<xf:item>
<xf:label>No<span class="skipRemark">
<xf:group bind="bindElse-DogSurvey_IF_1">
<span class="skipStatement">
Go to <a href="#DogSurvey_QC_06">
Question 6</a>
</span>
</xf:group>
</span>
</xf:label>
<xf:value>2</xf:value>
</xf:item>
</xf:select1>
<!--End of question DogSurvey_Q_05--><!--Start of DogSurvey_IF_1--><xf:group bind="bindThen-DogSurvey_IF_1"><!--Start of --><h2 class="sectionTitle">
<a name="seq_1">Dog demographics &amp; activities</a>
</h2>
<a name="DogSurvey_QC_10"/>
<!--Start of question DogSurvey_Q_10--><span class="questionNumber">2.</span>
<xf:input bind="bindQuestion-DogSurvey_QC_10">
<xf:label>
<span class="questionText">
<span class="words">
What is your dog's name?
</span>
</span>
</xf:label>
</xf:input>
<!--End of question DogSurvey_Q_10--><a name="DogSurvey_QC_20"/>
<!--Start of question DogSurvey_Q_20--><span class="questionNumber">3.</span>
<xf:select1 bind="bindQuestion-DogSurvey_QC_20" appearance="full">
<xf:label>
<span class="questionText">
<span class="words">
What is the sex of
</span>
<span class="wordsub">
<xf:output ref="//rml:response[@id='DogSurvey_QC_10']"/>
</span>
<span class="words">
?
</span>
</span>
</xf:label>
<xf:item>
<xf:label>Male</xf:label>
<xf:value>1</xf:value>
</xf:item>
<xf:item>
<xf:label>Female</xf:label>
<xf:value>2</xf:value>
</xf:item>
</xf:select1>
<!--End of question DogSurvey_Q_20--><h2 class="sectionTitle">
<a name="seq_3">Exercise activities</a>
</h2>
<a name="DogSurvey_QC_30"/>
<!--Start of question DogSurvey_Q_30--><span class="questionNumber">4.</span>
<xf:select1 bind="bindQuestion-DogSurvey_QC_30" appearance="full">
<xf:label>
<span class="questionText">
<span class="words">
Does
</span>
<span class="wordsub">
<xf:output ref="//rml:wordsubs[@id='codeScheme-Sex-MF']/rml:wordsub[@value=//rml:response[@id='DogSurvey_QC_20']]/@subtext//rml:wordsubs[@id='codeScheme-Sex-MF']/rml:wordsub[@value=//rml:response[@id='DogSurvey_QC_20']]/@subtext"/>
</span>
<span class="words">
like to play 'fetch''?
</span>
</span>
</xf:label>
<xf:item>
<xf:label>Yes<span class="skipRemark">
<xf:group bind="bindThen-DogSurvey_IF_2">
<span class="skipStatement" id="">
Go to <a href="#DogSurvey_QC_40">
Question 5</a>
</span>
</xf:group>
</span>
</xf:label>
<xf:value>1</xf:value>
</xf:item>
<xf:item>
<xf:label>No<span class="skipRemark">
<xf:group bind="bindElse-DogSurvey_IF_2">
<span class="skipStatement">
Go to <a href="#DogSurvey_QC_06">
Question 6</a>
</span>
</xf:group>
</span>
</xf:label>
<xf:value>2</xf:value>
</xf:item>
</xf:select1>
<!--End of question DogSurvey_Q_30--><!--Start of DogSurvey_IF_2--><xf:group bind="bindThen-DogSurvey_IF_2"><!--Start of --><a name="DogSurvey_QC_40"/>
<!--Start of question DogSurvey_Q_40--><span class="questionNumber">5.</span>
<xf:select bind="bindQuestion-DogSurvey_QC_40" appearance="full">
<xf:label>
<span class="questionText">
<span class="words">
What does
</span>
<span class="wordsub">
<xf:output ref="//rml:wordsubs[@id='codeScheme-Sex-MF']/rml:wordsub[@value=//rml:response[@id='DogSurvey_QC_20']]/@subtext"/>
</span>
<span class="words">
like to 'fetch' (click all that apply)?
</span>
</span>
</xf:label>
<xf:item>
<xf:label>Ball</xf:label>
<xf:value>1</xf:value>
</xf:item>
<xf:item>
<xf:label>Bones</xf:label>
<xf:value>2</xf:value>
</xf:item>
<xf:item>
<xf:label>Sticks</xf:label>
<xf:value>3</xf:value>
</xf:item>
<xf:item>
<xf:label>Frisbee</xf:label>
<xf:value>4</xf:value>
</xf:item>
<xf:item>
<xf:label>Newspaper</xf:label>
<xf:value>5</xf:value>
</xf:item>
<xf:item>
<xf:label>Postman</xf:label>
<xf:value>6</xf:value>
</xf:item>
</xf:select>
<!--End of question DogSurvey_Q_40--><!--End of --></xf:group>
<!--End of DogSurvey_IF_2--><!--End of seq_3--><!--End of seq_1--><!--End of --></xf:group>
<xf:group bind="bindElse-DogSurvey_IF_1"><!--Start of --><h2 class="sectionTitle">
<a name="seq_2">Reasons for non-ownership</a>
</h2>
<a name="DogSurvey_QC_06"/>
<span class="questionNumber">6.</span>
<span class="questionText">
<span class="words">
What is the main reason you do not own a dog?
</span>
</span>
<div class="subquestion"><!--Start of question DogSurvey_Q_07a--><span class="questionNumber">.</span>
<xf:select1 bind="bindQuestion-DogSurvey_Q_07a" appearance="full">
<xf:label>
<span class="questionText">
<span class="words">
Select one:
</span>
</span>
</xf:label>
<xf:item>
<xf:label>Allergy</xf:label>
<xf:value>1</xf:value>
</xf:item>
<xf:item>
<xf:label>Phobia of dogs</xf:label>
<xf:value>2</xf:value>
</xf:item>
<xf:item>
<xf:label>Not allowed pets at current residence</xf:label>
<xf:value>3</xf:value>
</xf:item>
<xf:item>
<xf:label>I am a mailman</xf:label>
<xf:value>4</xf:value>
</xf:item>
<xf:item>
<xf:label>Other</xf:label>
<xf:value>5</xf:value>
</xf:item>
</xf:select1>
<!--End of question DogSurvey_Q_07a--><!--Start of question DogSurvey_Q_07b--><span class="questionNumber">.</span>
<xf:input bind="bindQuestion-DogSurvey_Q_07b">
<xf:label>
<span class="questionText">
<span class="words">
Please specify
</span>
</span>
</xf:label>
</xf:input>
<!--End of question DogSurvey_Q_07b--></div>
<!--End of seq_2--><!--End of --></xf:group>
<!--End of DogSurvey_IF_1--><h2 class="sectionTitle">
<a name="seq_5">Comments</a>
</h2>
<a name="DogSurvey_QC_80"/>
<!--Start of question DogSurvey_Q_80--><span class="questionNumber">7.</span>
<xf:textarea bind="bindQuestion-DogSurvey_QC_80" cols="50" rows="10">
<xf:label>
<span class="questionText">
<span class="words">
If you have any comments on this survey please write them below:
</span>
</span>
</xf:label>
</xf:textarea>
<!--End of question DogSurvey_Q_80--><!--End of seq_5--><!--End of DogSurvey--></div>
<xf:submit submission="saveLocally">
<xf:label>Save data locally</xf:label>
</xf:submit>
<xf:submit submission="saveRemotely">
<xf:label>Submit</xf:label>
</xf:submit>
</div>
</body>
</html>
<!DOCTYPE html
PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html lang="en" xml:lang="en" id="xf-1">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="/orbeon/xforms-server/orbeon-f8ea744bfde8e279e895681476e87b4ae5eec96a.css" type="text/css" media="all">
<link rel="stylesheet" href="/orbeon/xforms-server/orbeon-127fa68fd95baf9f55f8f667dff5f883f9b00776.css" type="text/css" media="all"><style type="text/css" media="all">
html body form.xforms-initially-hidden, html body .xforms-form .xforms-initially-hidden { display: none }
</style><style type="text/css" media="all">
.xbl-fr-error-summary { clear: both; width: 100%; padding: 0 }
.xbl-fr-error-summary .fr-error-title { display: block; padding: .3em }
.xbl-fr-error-summary .fr-error-summary-body { display: block }
.xbl-fr-error-summary .fr-error-list li { margin-bottom: .5em }
.xbl-fr-error-summary .fr-error-alert { color: red }
</style><style type="text/css" media="all">
.xbl-fr-button { display: inline }
.xbl-fr-button .yui-button {
display: -moz-inline-box;
display: inline-block;
*zoom: 1;
*display: inline;
vertical-align: middle;
*margin-bottom: 1px;
}
.xbl-fr-button button:hover { background-image: none }
</style><title id="xf-9">Australian Dog Ownership Survey 2 </title>
<meta name="generator" content="Orbeon Forms 3.9.0.201105152046 CE">
<link rel="shortcut icon" href="/orbeon/ops/images/orbeon-icon-16.ico">
<link rel="icon" href="/orbeon/ops/images/orbeon-icon-16.png" type="image/png">
</head>
<body class="xforms-disable-hint-as-tooltip xforms-disable-alert-as-tooltip yui-skin-sam">
<noscript>
<div class="xforms-noscript-panel">
<p>
Your browser does not appear to support JavaScript. You may want to try one of the following:
</p>
<ul>
<li>Turn on JavaScript in your browser if it supports it.</li>
<li>Use a browser that supports JavaScript.</li>
<li>Try a JavaScript-free version of this page, if made available by the application author.</li>
</ul>
</div>
</noscript>
<form id="xforms-form" class="xforms-form xforms-initially-hidden xforms-layout-nospan" action="/orbeon/fr/orbeon/dmv-14/edit/6b01fa4cd1605b8f736fac09be6cf9b2" method="POST" onsubmit="return false"><input type="hidden" name="$uuid" value="7FDD30C1-0B12-4B41-6F8A-F04F4069812A"><input type="hidden" name="$static-state"><input type="hidden" name="$dynamic-state"><input type="hidden" name="$server-events" value=""><input type="text" name="$client-state" value="" class="xforms-initially-hidden"><input type="hidden" name="$repeat-tree" value="xf-369$xf-526,error-summary-control-bottom$er,xf-505"><input type="hidden" name="$repeat-indexes" value="xf-505 1,xf-369$xf-526 0,error-summary-control-bottom$er 0"><span class="xforms-loading-loading">Loading...</span><span class="xforms-loading-none"></span><div class="xforms-error-panel xforms-initially-hidden">
<div class="hd">An error has occurred in Form Runner</div>
<div class="bd">
<p>
You may want to try one of the following:
</p>
<ul>
<li><a class="xforms-error-panel-close">Close this dialog</a> and continue to use this page.
</li>
<li><a class="xforms-error-panel-reload">Reload this page</a>. Note that you will lose any unsaved changes.
</li>
<li>
<p>
If the above does not work, try reloading the page yourself. Note that you will lose any unsaved changes:
</p>
<ul>
<li>
With Firefox: hold down the <code>shift</code> key and click the Reload button in your browser toolbar.
</li>
<li>
With Safari and Chrome: click the Reload button in your browser toolbar.
</li>
<li>
With Internet Explorer: hold down the <code>control</code> key and click the Reload button in your browser toolbar.
</li>
</ul>
</li>
<li>Return <a href="/orbeon/">home</a>.
</li>
</ul>
<div class="xforms-error-panel-details-hidden">
<p>
<a class="xforms-error-panel-show-details">
<img src="/orbeon/ops/images/xforms/section-closed.png" alt="Show Details">
<span>Show details</span>
</a>
</p>
</div>
<div class="xforms-error-panel-details-shown xforms-disabled">
<p>
<a class="xforms-error-panel-hide-details">
<img src="/orbeon/ops/images/xforms/section-opened.png" alt="Hide Details">
<span>Hide details</span>
</a>
</p>
<div class="xforms-error-panel-details"></div>
</div>
</div>
</div>
<div class="xforms-help-panel xforms-initially-hidden">
<div class="hd">Help</div>
<div class="bd">
<div class="xforms-help-panel-message"></div>
<div class="xforms-help-panel-close">
<button>Close</button>
</div>
</div>
</div><span id="xforms-select-full-template" class="xforms-template"><span class="xforms-deselected"><label for="$xforms-item-effective-id$"><input id="$xforms-item-effective-id$" type="checkbox" name="$xforms-effective-id$" value="$xforms-template-value$">$xforms-template-label$</label></span></span><span id="xforms-select1-full-template" class="xforms-template"><span class="xforms-deselected"><label for="$xforms-item-effective-id$"><input id="$xforms-item-effective-id$" type="radio" name="$xforms-effective-id$" value="$xforms-template-value$">$xforms-template-label$</label></span></span><span id="fr-view" class="xforms-group">
<div id="doc4" class=" fr-mode-edit">
<div class="fr-header"><span id="xf-362" class="xforms-group"><img class="fr-logo" src="/orbeon/apps/fr/style/orbeon-logo-trimmed-transparent-30.png" alt="" id="xf-363"></span><span id="xf-365" class="xforms-group xforms-disabled"><span id="xf-366" class="fr-logo xforms-control xforms-output xforms-mediatype-image"><img src="/orbeon/ops/images/xforms/spacer.gif"></span></span><div class="fr-language-choice"><span id="fr-language-selector" class="xforms-group xforms-disabled">
<div id="xf-369" class="xbl-component xbl-fr-link-select1"><span id="xf-369$xf-523" class="xforms-group xforms-disabled"><span id="xf-369$xf-524" class="fr-component-group xforms-group"><span id="repeat-begin-xf-369$xf-526" class="xforms-repeat-begin-end"></span><span class="xforms-repeat-delimiter"></span><span id="xf-369$xf-530" class="xforms-group xforms-repeat-template"> | </span><span id="xf-369$xf-531" class="xforms-group xforms-repeat-template"><a id="xf-369$xf-532" class="xforms-control xforms-trigger xforms-trigger-appearance-minimal" href="#"></a></span><span id="xf-369$xf-536" class="xforms-control xforms-output xforms-repeat-template"></span><span id="repeat-end-xf-369$xf-526" class="xforms-repeat-begin-end"></span></span></span></div></span></div>
<div class="fr-noscript-choice"><span id="xf-371" class="xforms-group"><a id="xf-372" class="xforms-control xforms-trigger xforms-trigger-appearance-minimal" href="#">Accessible Version</a></span><span id="xf-375" class="xforms-group xforms-disabled"><a id="xf-376" class="xforms-control xforms-trigger xforms-trigger-appearance-minimal" href="#"></a></span></div>
</div>
<div id="hd" class="fr-shadow">&nbsp;</div>
<div id="bd" class="fr-container">
<div id="yui-main">
<div class="yui-b">
<div class="yui-g fr-top">
<h1 class="fr-form-title"><span id="xf-382" class="xforms-control xforms-output">Australian Dog Ownership Survey 2 </span></h1><span id="xf-384" class="fr-form-description xforms-control xforms-output"></span></div>
<div class="yui-g fr-separator">&nbsp;</div>
<div class="yui-g fr-body"><span id="fr-form-group" class="xforms-group"><a name="fr-form"></a>
<div id="test123">
Some stuff here!!
<label class="xforms-disabled xforms-label" id="my-input$$l" for="my-input$xforms-input-1"></label><span id="my-input" class="xforms-control xforms-input xforms-disabled"><input id="my-input$xforms-input-1" type="text" name="my-input$xforms-input-1" value="" class="xforms-input-input"></span>
</div>
<div id="majorsections">
<h2>Major Sections</h2>
<ol>
<li>
<a href="#DogSurvey">Australian Dog Survey main sequence</a>
</li>
<li>
<a href="#seq_1">Dog demographics &amp; activities</a>
</li>
<li>
<a href="#seq_2">Reasons for non-ownership</a>
</li>
<li>
<a href="#seq_3">Exercise activities</a>
</li>
<li>
<a href="#seq_5">Comments</a>
</li>
</ol>
</div>
<div id="survey">
<h1>Australian Dog Ownership Survey</h1>
<div class="instrumentDescription">
<p>
<strong>This is an example <a href="http://www.ddialliance.org">DDI 3.1 File</a> for demonstrating the capabilities of the <em>Ramona DDI3.1 to XForms Transform Engine</em>.</strong>
</p>
<div> This survey can be used to demonstrate the following common interactive survey requirements:
<ul>
<li>
<strong>Question sequencing: </strong>Answering no to Question 1 will allow a respondent to bypass questions 2-5.
</li>
<li>
<strong>Skip generation: </strong>Depending on how a respondent answers a <em>coded</em> questions, they will be presented with an in-document hyperlink to take them to the next available question.
</li>
<li>
<strong>Word substitutions: </strong>The answers in question 2 and 3 are used to dynamically personalise the form. Question 2 will insert the name of the dog in
question 3, and the response to question 3 will add the correct gendered pronoun to questions 4 and 5.
</li>
</ul>
</div>
<h2>Purpose of Collection</h2>To gather information on dog ownership and habits.
</div>
<div class="mainForm"><a name="DogSurvey_QC_05"></a>
<span class="questionNumber">1.</span>
<label class="xforms-disabled xforms-label" id="xf-386$$l"></label><span id="xf-386" class="xforms-control xforms-select1 xforms-incremental xforms-select1-appearance-full xforms-disabled"></span>
<span id="xf-396" class="xforms-group xforms-disabled">
<h2 class="sectionTitle">
<a name="seq_1">Dog demographics &amp; activities</a>
</h2>
<a name="DogSurvey_QC_10"></a>
<span class="questionNumber">2.</span>
<label class="xforms-disabled xforms-label" id="xf-397$$l" for="xf-397$xforms-input-1"></label><span id="xf-397" class="xforms-control xforms-input xforms-disabled"><input id="xf-397$xforms-input-1" type="text" name="xf-397$xforms-input-1" value="" class="xforms-input-input"></span>
<a name="DogSurvey_QC_20"></a>
<span class="questionNumber">3.</span>
<label class="xforms-disabled xforms-label" id="xf-399$$l"></label><span id="xf-399" class="xforms-control xforms-select1 xforms-incremental xforms-select1-appearance-full xforms-disabled"><span class="xforms-deselected"><label for="xf-399$$e0"><input id="xf-399$$e0" type="radio" name="xf-399" value="NN3A/oWiOVo=">Male</label></span><span class="xforms-deselected"><label for="xf-399$$e1"><input id="xf-399$$e1" type="radio" name="xf-399" value="cnLaLKF335s=">Female</label></span></span>
<h2 class="sectionTitle">
<a name="seq_3">Exercise activities</a>
</h2>
<a name="DogSurvey_QC_30"></a>
<span class="questionNumber">4.</span>
<label class="xforms-disabled xforms-label" id="xf-408$$l"></label><span id="xf-408" class="xforms-control xforms-select1 xforms-incremental xforms-select1-appearance-full xforms-disabled"></span>
<span id="xf-419" class="xforms-group xforms-disabled"><a name="DogSurvey_QC_40"></a>
<span class="questionNumber">5.</span>
<label class="xforms-disabled xforms-label" id="xf-420$$l"></label><span id="xf-420" class="xforms-control xforms-select xforms-incremental xforms-select-appearance-full xforms-disabled"><span class="xforms-deselected"><label for="xf-420$$e0"><input id="xf-420$$e0" type="checkbox" name="xf-420" value="NN3A/oWiOVo=">Ball</label></span><span class="xforms-deselected"><label for="xf-420$$e1"><input id="xf-420$$e1" type="checkbox" name="xf-420" value="cnLaLKF335s=">Bones</label></span><span class="xforms-deselected"><label for="xf-420$$e2"><input id="xf-420$$e2" type="checkbox" name="xf-420" value="RkaDoy+3zXY=">Sticks</label></span><span class="xforms-deselected"><label for="xf-420$$e3"><input id="xf-420$$e3" type="checkbox" name="xf-420" value="vhqctxpsAfA=">Frisbee</label></span><span class="xforms-deselected"><label for="xf-420$$e4"><input id="xf-420$$e4" type="checkbox" name="xf-420" value="TAIqIc7BoLQ=">Newspaper</label></span><span class="xforms-deselected"><label for="xf-420$$e5"><input id="xf-420$$e5" type="checkbox" name="xf-420" value="qYJLx3YpkgY=">Postman</label></span></span>
</span>
</span>
<span id="xf-441" class="xforms-group xforms-disabled">
<h2 class="sectionTitle">
<a name="seq_2">Reasons for non-ownership</a>
</h2>
<a name="DogSurvey_QC_06"></a>
<span class="questionNumber">6.</span>
<span class="questionText">
<span class="words">
What is the main reason you do not own a dog?
</span>
</span>
<div class="subquestion"><span class="questionNumber">.</span>
<label class="xforms-disabled xforms-label" id="xf-442$$l"></label><span id="xf-442" class="xforms-control xforms-select1 xforms-incremental xforms-select1-appearance-full xforms-disabled"><span class="xforms-deselected"><label for="xf-442$$e0"><input id="xf-442$$e0" type="radio" name="xf-442" value="NN3A/oWiOVo=">Allergy</label></span><span class="xforms-deselected"><label for="xf-442$$e1"><input id="xf-442$$e1" type="radio" name="xf-442" value="cnLaLKF335s=">Phobia of dogs</label></span><span class="xforms-deselected"><label for="xf-442$$e2"><input id="xf-442$$e2" type="radio" name="xf-442" value="RkaDoy+3zXY=">Not allowed pets at current residence</label></span><span class="xforms-deselected"><label for="xf-442$$e3"><input id="xf-442$$e3" type="radio" name="xf-442" value="vhqctxpsAfA=">I am a mailman</label></span><span class="xforms-deselected"><label for="xf-442$$e4"><input id="xf-442$$e4" type="radio" name="xf-442" value="TAIqIc7BoLQ=">Other</label></span></span>
<span class="questionNumber">.</span>
<label class="xforms-disabled xforms-label" id="xf-459$$l" for="xf-459$xforms-input-1"></label><span id="xf-459" class="xforms-control xforms-input xforms-disabled"><input id="xf-459$xforms-input-1" type="text" name="xf-459$xforms-input-1" value="" class="xforms-input-input"></span>
</div>
</span>
<h2 class="sectionTitle">
<a name="seq_5">Comments</a>
</h2>
<a name="DogSurvey_QC_80"></a>
<span class="questionNumber">7.</span>
<label class="xforms-disabled xforms-label" id="xf-461$$l" for="xf-461"></label><textarea id="xf-461" class="xforms-control xforms-textarea xforms-disabled" name="xf-461"></textarea>
</div>
<button id="xf-463" class="xforms-control xforms-submit" type="button">Save data locally</button>
<button id="xf-465" class="xforms-control xforms-submit" type="button">Submit</button>
</div>
</span><div>
<div id="error-summary-control-bottom" class="xbl-component xbl-fr-error-summary"><span id="error-summary-control-bottom$xf-542" class="xbl-fr-error-summary-observer xforms-control xforms-output" style="display: none">fr-form-group</span><span id="error-summary-control-bottom$ig" class="xforms-group xforms-disabled">
<div class="fr-separator" xxbl:scope="outer">&nbsp;</div>
<fieldset id="error-summary-control-bottom$body" class="fr-error-summary-body xforms-group xforms-group-appearance-xxforms-fieldset">
<legend class="xforms-label xforms-disabled fr-error-title" id="error-summary-control-bottom$body$$l"></legend><a name="fr-errors"></a><ol class="fr-error-list">
<li id="repeat-begin-error-summary-control-bottom$er" class="xforms-repeat-begin-end"></li>
<li class="xforms-repeat-delimiter"></li>
<li class="xforms-repeat-template"><span id="error-summary-control-bottom$xf-633" class="xforms-group"><a href="/orbeon/fr/orbeon/dmv-14/edit/" id="error-summary-control-bottom$xf-634"><span id="error-summary-control-bottom$xf-636" class="fr-error-label xforms-control xforms-output"></span></a></span><a id="error-summary-control-bottom$xf-637" class="fr-error-label xforms-control xforms-trigger xforms-trigger-appearance-minimal" href="#"></a><span id="error-summary-control-bottom$io" class="fr-error-row xforms-control xforms-output"></span><span id="error-summary-control-bottom$xf-642" class="fr-error-dash xforms-control xforms-output"></span><span id="error-summary-control-bottom$ao" class="fr-error-alert xforms-control xforms-output"></span></li>
<li id="repeat-end-error-summary-control-bottom$er" class="xforms-repeat-begin-end"></li>
</ol>
</fieldset></span></div>
</div>
</div>
<div class="yui-g fr-separator">&nbsp;</div>
<div class="yui-g fr-bottom"><span id="xf-467" class="fr-messages xforms-switch xforms-disabled"><span id="xforms-case-begin-fr-message-none" class="xforms-case-begin-end"></span><span class="xforms-case-deselected"></span><span id="xforms-case-end-fr-message-none" class="xforms-case-begin-end"></span><span id="xforms-case-begin-fr-message-success" class="xforms-case-begin-end"></span><span class="xforms-case-deselected"><span class="fr-message fr-message-success"><span id="xf-468" class="xforms-control xforms-output"></span></span></span><span id="xforms-case-end-fr-message-success" class="xforms-case-begin-end"></span><span id="xforms-case-begin-fr-message-validation-error" class="xforms-case-begin-end"></span><span class="xforms-case-deselected"><span class="fr-message fr-message-validation-error"><span id="xf-469" class="xforms-control xforms-output"></span></span></span><span id="xforms-case-end-fr-message-validation-error" class="xforms-case-begin-end"></span><span id="xforms-case-begin-fr-message-fatal-error" class="xforms-case-begin-end"></span><span class="xforms-case-deselected"><span class="fr-message fr-message-fatal-error"><span id="xf-470" class="xforms-control xforms-output"></span><a id="xf-471" class="xforms-control xforms-trigger xforms-trigger-appearance-minimal xforms-disabled" href="#"></a></span></span><span id="xforms-case-end-fr-message-fatal-error" class="xforms-case-begin-end"></span></span><div class="fr-status-icons"><span id="xf-474" class="xforms-group xforms-disabled"><img width="16" height="16" src="/orbeon/apps/fr/style/images/pixelmixer/warning_16.png" alt="" title="" id="xf-476"></span><span id="xf-479" class="fr-validity-icon xforms-group"><img width="16" height="16" src="/orbeon/apps/fr/style/images/pixelmixer/tick_16.png" alt="No Errors on Form" title="No Errors on Form" id="xf-480"></span><span id="xf-483" class="fr-data-icon xforms-group xforms-disabled"><img width="16" height="16" src="/orbeon/apps/fr/style/images/silk/disk.png" alt="" title="" id="xf-484"></span></div>
<div class="fr-buttons">
<div class="fr-buttons-message">
<div id="xf-487" class="xforms-control xforms-output xforms-mediatype-text-html xforms-mediatype-text xforms-readonly"></div>
</div><span id="xf-488" class="xforms-group xforms-disabled">
<div id="fr-refresh-button" class="xbl-component xbl-fr-button"><span id="fr-refresh-button$container" class="yui-button yui-push-button xforms-group xforms-disabled"><span class="first-child"><button id="fr-refresh-button$trigger" class="xforms-control xforms-trigger" type="button"></button></span></span></div></span><div id="fr-back-button" class="xbl-component xbl-fr-button"><span id="fr-back-button$container" class="yui-button yui-push-button xforms-group"><span class="first-child"><button id="fr-back-button$trigger" class="xforms-control xforms-trigger" type="button"><img alt="" src="/orbeon/apps/fr/style/close.gif" height="16" width="11"><span>Close</span></button></span></span></div>
<div id="fr-clear-button" class="xbl-component xbl-fr-button"><span id="fr-clear-button$container" class="yui-button yui-push-button xforms-group"><span class="first-child"><button id="fr-clear-button$trigger" class="xforms-control xforms-trigger" type="button"><img alt="" src="/orbeon/apps/fr/style/clear.gif" height="16" width="16"><span>Clear</span></button></span></span></div><span id="fr-pdf-button-group" class="xforms-group"><a style="display:none" class="fr-pdf-anchor" target="_blank" href="/orbeon/fr/service/orbeon/dmv-14/pdf/6b01fa4cd1605b8f736fac09be6cf9b2/7FDD30C1-0B12-4B41-6F8A-F04F4069812A.pdf" id="xf-489"></a><div id="fr-pdf-button" class="xbl-component xbl-fr-button"><span id="fr-pdf-button$container" class="yui-button yui-push-button xforms-group"><span class="first-child"><button id="fr-pdf-button$trigger" class="xforms-control xforms-trigger" type="button"><img alt="" src="/orbeon/apps/fr/style/pdf.png" height="16" width="16"><span>PDF</span></button></span></span></div></span><div id="fr-email-button" class="xbl-component xbl-fr-button"><span id="fr-email-button$container" class="yui-button yui-push-button xforms-group"><span class="first-child"><button id="fr-email-button$trigger" class="xforms-control xforms-trigger xforms-trigger-appearance-modal" type="button"><img alt="" src="/orbeon/apps/fr/style/images/pixelmixer/letter_16.png" height="16" width="16"><span>Email</span></button></span></span></div>
<div id="fr-save-button" class="xbl-component xbl-fr-button"><span id="fr-save-button$container" class="yui-button yui-push-button xforms-group"><span class="first-child"><button id="fr-save-button$trigger" class="xforms-control xforms-trigger xforms-trigger-appearance-modal" type="button"><img alt="" src="/orbeon/apps/fr/style/images/silk/database_save.png" height="16" width="16"><span>Save</span></button></span></span></div>
<div id="fr-workflow-review-button" class="xbl-component xbl-fr-button"><span id="fr-workflow-review-button$container" class="yui-button yui-push-button xforms-group"><span class="first-child"><button id="fr-workflow-review-button$trigger" class="xforms-control xforms-trigger xforms-trigger-appearance-modal" type="button"><img alt="" src="/orbeon/apps/fr/style/images/pixelmixer/right_16.png" height="16" width="16"><span>Review</span></button></span></span></div>
<div id="fr-collapse-all-button" class="xbl-component xbl-fr-button"><span id="fr-collapse-all-button$container" class="yui-button yui-push-button xforms-group"><span class="first-child"><button id="fr-collapse-all-button$trigger" class="xforms-control xforms-trigger" type="button"><img alt="" src="/orbeon/apps/fr/style/images/silk/arrow_in.png" height="16" width="16"></button></span></span></div>
<div id="fr-expand-all-button" class="xbl-component xbl-fr-button"><span id="fr-expand-all-button$container" class="yui-button yui-push-button xforms-group"><span class="first-child"><button id="fr-expand-all-button$trigger" class="xforms-control xforms-trigger" type="button"><img alt="" src="/orbeon/apps/fr/style/images/silk/arrow_out.png" height="16" width="16"></button></span></span></div>
</div>
</div>
</div>
</div>
</div>
<div id="ft" class="fr-footer">
<div class="fr-orbeon-version">Orbeon Forms 3.9.0.201105152046 CE</div>
</div>
</div></span><span class="fr-hidden"><span id="fr-data-safe-input" class="xforms-disabled xforms-control xforms-input xforms-readonly"><input id="fr-data-safe-input$xforms-input-1" type="text" name="fr-data-safe-input$xforms-input-1" value="true" class="xforms-input-input" disabled></span></span><div id="fr-download-save-dialog" class="fr-dialog xforms-dialog xforms-initially-hidden xforms-dialog-modal xforms-dialog-close-true xforms-dialog-draggable-false xforms-dialog-visible-false">
<div class="hd xxforms-dialog-head">Save</div>
<div class="bd xxforms-dialog-body">
<div id="xf-493" class="xforms-control xforms-output xforms-mediatype-text-html xforms-mediatype-text">
<div>
<p>To save the data you entered; click on the link below and save the document on your machine.</p>
<p>To reopen the information you entered, double click on the file you saved on your machine and the tool will automatically
retrieve the information entered preciously.
</p>
<p><b>Note:</b> No data is kept on the server and if you delete the file you saved your data will be lost.
</p>
</div>
</div>
<div class="fr-dialog-buttons">
<div id="xf-494" class="xforms-control xforms-output xforms-mediatype-text-html xforms-mediatype-text"><a target="_blank" href="../../../service/import-export/serve?uuid=&amp;filename=.html">Save</a></div>
</div>
</div>
</div>
<div id="fr-clear-confirm-dialog" class="fr-dialog xforms-dialog xforms-initially-hidden xforms-dialog-modal xforms-dialog-close-false xforms-dialog-draggable-false xforms-dialog-visible-false">
<div class="hd xxforms-dialog-head">Confirm</div>
<div class="bd xxforms-dialog-body">
<div>
<img src="/orbeon/apps/fr/style/images/pixelmixer/info_64.png" alt="Question" class="fr-dialog-icon">
<div class="fr-dialog-message">
<span id="xf-496" class="xforms-control xforms-output">Are you sure you want to clear all the fields on this page? Your data will be lost if you haven't saved it.</span>
</div>
</div>
<div class="fr-dialog-buttons">
<span id="xf-497" class="xforms-group">
<div id="xf-499" class="xbl-component xbl-fr-button"><span id="xf-499$container" class="yui-button yui-push-button xforms-group"><span class="first-child"><button id="xf-499$trigger" class="xforms-control xforms-trigger" type="button"><img alt="" src="/orbeon/apps/fr/style/clear.gif"> <span>Clear</span></button></span></span></div>
<div id="xf-500" class="xbl-component xbl-fr-button"><span id="xf-500$container" class="yui-button yui-push-button xforms-group"><span class="first-child"><button id="xf-500$trigger" class="xforms-control xforms-trigger" type="button"><img alt="" src="/orbeon/apps/fr/style/close.gif"> <span>Cancel</span></button></span></span></div>
</span>
</div>
</div>
</div>
<div id="fr-submission-result-dialog" class="fr-dialog xforms-dialog xforms-initially-hidden xforms-dialog-modal xforms-dialog-close-false xforms-dialog-draggable-false xforms-dialog-visible-false">
<div class="hd xxforms-dialog-head">Form Submitted</div>
<div class="bd xxforms-dialog-body">
<div>
<div id="xf-503" class="xforms-control xforms-output xforms-mediatype-text-html xforms-mediatype-text xforms-readonly">Your information has been submitted, thank you.</div>
</div>
<div class="fr-dialog-buttons">
<span id="xf-504" class="xforms-group">
<div id="repeat-begin-xf-505" class="xforms-repeat-begin-end"></div>
<div class="xforms-repeat-delimiter"></div>
<div id="xf-506·1" class="xbl-component xbl-fr-button xforms-repeat-selected-item-1"><span id="xf-506$container·1" class="yui-button yui-push-button xforms-group"><span class="first-child"><button id="xf-506$trigger·1" class="xforms-control xforms-trigger" type="button"><img alt="" src="/orbeon/apps/fr/style/clear.gif"> <span>Clear and close</span></button></span></span></div>
<div id="xf-507·1" class="xbl-component xbl-fr-button xforms-repeat-selected-item-1"><span id="xf-507$container·1" class="yui-button yui-push-button xforms-group xforms-disabled"><span class="first-child"><button id="xf-507$trigger·1" class="xforms-control xforms-trigger xforms-disabled" type="button"></button></span></span></div>
<div id="xf-508·1" class="xbl-component xbl-fr-button xforms-repeat-selected-item-1"><span id="xf-508$container·1" class="yui-button yui-push-button xforms-group xforms-disabled"><span class="first-child"><button id="xf-508$trigger·1" class="xforms-control xforms-trigger xforms-disabled" type="button"></button></span></span></div>
<div id="xf-509·1" class="xbl-component xbl-fr-button xforms-repeat-selected-item-1"><span id="xf-509$container·1" class="yui-button yui-push-button xforms-group xforms-disabled"><span class="first-child"><button id="xf-509$trigger·1" class="xforms-control xforms-trigger xforms-disabled" type="button"></button></span></span></div>
<div class="xforms-repeat-delimiter"></div>
<div id="xf-506·2" class="xbl-component xbl-fr-button"><span id="xf-506$container·2" class="yui-button yui-push-button xforms-group xforms-disabled"><span class="first-child"><button id="xf-506$trigger·2" class="xforms-control xforms-trigger xforms-disabled" type="button"></button></span></span></div>
<div id="xf-507·2" class="xbl-component xbl-fr-button"><span id="xf-507$container·2" class="yui-button yui-push-button xforms-group"><span class="first-child"><button id="xf-507$trigger·2" class="xforms-control xforms-trigger" type="button"><img alt="" src="/orbeon/apps/fr/style/close.gif"> <span>Keep values and close</span></button></span></span></div>
<div id="xf-508·2" class="xbl-component xbl-fr-button"><span id="xf-508$container·2" class="yui-button yui-push-button xforms-group xforms-disabled"><span class="first-child"><button id="xf-508$trigger·2" class="xforms-control xforms-trigger xforms-disabled" type="button"></button></span></span></div>
<div id="xf-509·2" class="xbl-component xbl-fr-button"><span id="xf-509$container·2" class="yui-button yui-push-button xforms-group xforms-disabled"><span class="first-child"><button id="xf-509$trigger·2" class="xforms-control xforms-trigger xforms-disabled" type="button"></button></span></span></div>
<div class="xforms-repeat-delimiter"></div>
<div id="xf-506·3" class="xbl-component xbl-fr-button"><span id="xf-506$container·3" class="yui-button yui-push-button xforms-group xforms-disabled"><span class="first-child"><button id="xf-506$trigger·3" class="xforms-control xforms-trigger xforms-disabled" type="button"></button></span></span></div>
<div id="xf-507·3" class="xbl-component xbl-fr-button"><span id="xf-507$container·3" class="yui-button yui-push-button xforms-group xforms-disabled"><span class="first-child"><button id="xf-507$trigger·3" class="xforms-control xforms-trigger xforms-disabled" type="button"></button></span></span></div>
<div id="xf-508·3" class="xbl-component xbl-fr-button"><span id="xf-508$container·3" class="yui-button yui-push-button xforms-group"><span class="first-child"><button id="xf-508$trigger·3" class="xforms-control xforms-trigger" type="button"><img alt="" src="/orbeon/apps/fr/style/close.gif"> <span>OK</span></button></span></span></div>
<div id="xf-509·3" class="xbl-component xbl-fr-button"><span id="xf-509$container·3" class="yui-button yui-push-button xforms-group xforms-disabled"><span class="first-child"><button id="xf-509$trigger·3" class="xforms-control xforms-trigger xforms-disabled" type="button"></button></span></span></div>
<div class="xforms-repeat-delimiter"></div>
<div id="xf-506·4" class="xbl-component xbl-fr-button"><span id="xf-506$container·4" class="yui-button yui-push-button xforms-group xforms-disabled"><span class="first-child"><button id="xf-506$trigger·4" class="xforms-control xforms-trigger xforms-disabled" type="button"></button></span></span></div>
<div id="xf-507·4" class="xbl-component xbl-fr-button"><span id="xf-507$container·4" class="yui-button yui-push-button xforms-group xforms-disabled"><span class="first-child"><button id="xf-507$trigger·4" class="xforms-control xforms-trigger xforms-disabled" type="button"></button></span></span></div>
<div id="xf-508·4" class="xbl-component xbl-fr-button"><span id="xf-508$container·4" class="yui-button yui-push-button xforms-group xforms-disabled"><span class="first-child"><button id="xf-508$trigger·4" class="xforms-control xforms-trigger xforms-disabled" type="button"></button></span></span></div>
<div id="xf-509·4" class="xbl-component xbl-fr-button"><span id="xf-509$container·4" class="yui-button yui-push-button xforms-group"><span class="first-child"><button id="xf-509$trigger·4" class="xforms-control xforms-trigger" type="button"><img alt="" src="/orbeon/apps/fr/style/close.gif"> <span>Close window</span></button></span></span></div>
<div class="xforms-repeat-delimiter"></div>
<div id="xf-506" class="xbl-component xbl-fr-button xforms-repeat-template"><span id="xf-506$container" class="yui-button yui-push-button xforms-group"><span class="first-child"><button id="xf-506$trigger" class="xforms-control xforms-trigger" type="button"></button></span></span></div>
<div id="xf-507" class="xbl-component xbl-fr-button xforms-repeat-template"><span id="xf-507$container" class="yui-button yui-push-button xforms-group"><span class="first-child"><button id="xf-507$trigger" class="xforms-control xforms-trigger" type="button"></button></span></span></div>
<div id="xf-508" class="xbl-component xbl-fr-button xforms-repeat-template"><span id="xf-508$container" class="yui-button yui-push-button xforms-group"><span class="first-child"><button id="xf-508$trigger" class="xforms-control xforms-trigger" type="button"></button></span></span></div>
<div id="xf-509" class="xbl-component xbl-fr-button xforms-repeat-template"><span id="xf-509$container" class="yui-button yui-push-button xforms-group"><span class="first-child"><button id="xf-509$trigger" class="xforms-control xforms-trigger" type="button"></button></span></span></div>
<div id="repeat-end-xf-505" class="xforms-repeat-begin-end"></div>
</span>
</div>
</div>
</div>
<div id="fr-error-details-dialog" class="xforms-dialog xforms-initially-hidden xforms-dialog-modal xforms-dialog-close-true xforms-dialog-draggable-true xforms-dialog-visible-false">
<div class="hd xxforms-dialog-head">Error Details</div>
<div class="bd xxforms-dialog-body">
<div>
<div class="fr-dialog-message">
<div id="xf-516" class="xforms-control xforms-output xforms-mediatype-text-html xforms-mediatype-text"></div>
</div>
</div>
<div class="fr-dialog-buttons"><span id="xf-517" class="xforms-group"><button id="xf-519" class="xforms-control xforms-trigger" type="button"><img alt="" src="/orbeon/apps/fr/style/close.gif"><span>Close</span></button></span></div>
</div>
</div>
</form>
</body><script type="text/javascript" src="/orbeon/xforms-server/orbeon-989e5dc65fbc1e4e6e17606734ac9b25779353fa.js"></script><script type="text/javascript">var opsXFormsProperties = {"internal-short-delay":100};</script><script type="text/javascript">
function fr_refresh_button_xf_692_xforms_function(event) {
YAHOO.xbl.fr.Button.instance(this).readonly();}
function fr_refresh_button_xf_691_xforms_function(event) {
YAHOO.xbl.fr.Button.instance(this).enabled();}
function xf_850_xforms_function(event) {
window.close();}
function fr_expand_all_button_xf_761_xforms_function(event) {
YAHOO.xbl.fr.Button.instance(this).enabled();}
function xf_491_xforms_function(event) {
var button = ORBEON.util.Dom.getElementsByName(this, "button")[0];
YAHOO.util.Event.addListener(button, "click", function(_dummy, group) {
var a = YAHOO.util.Dom.getElementsByClassName("fr-pdf-anchor", null, group)[0];
window.open(a.href, a.target)
}, this);
}
function xf_499_xf_772_xforms_function(event) {
YAHOO.xbl.fr.Button.instance(this).readwrite();}
function xf_499_xf_770_xforms_function(event) {
YAHOO.xbl.fr.Button.instance(this).enabled();}
function xf_499_xf_771_xforms_function(event) {
YAHOO.xbl.fr.Button.instance(this).readonly();}
function fr_clear_button_xf_709_xforms_function(event) {
YAHOO.xbl.fr.Button.instance(this).enabled();}
function fr_expand_all_button_xf_762_xforms_function(event) {
YAHOO.xbl.fr.Button.instance(this).readonly();}
function fr_save_button_xf_738_xforms_function(event) {
YAHOO.xbl.fr.Button.instance(this).readwrite();}
function fr_expand_all_button_xf_763_xforms_function(event) {
YAHOO.xbl.fr.Button.instance(this).readwrite();}
function fr_refresh_button_xf_693_xforms_function(event) {
YAHOO.xbl.fr.Button.instance(this).readwrite();}
function fr_clear_button_xf_711_xforms_function(event) {
YAHOO.xbl.fr.Button.instance(this).readwrite();}
function fr_clear_button_xf_710_xforms_function(event) {
YAHOO.xbl.fr.Button.instance(this).readonly();}
function xf_303_xforms_function(event) {
var rootElement = ORBEON.util.Dom.get("fr-form");
var elements = YAHOO.util.Dom.getElementsByClassName("xforms-alert-active", "label", rootElement);
for (var i = 0; i < elements.length; i++) {
var element = elements[i];
YAHOO.util.Dom.addClass(element, "xforms-alert-active-visited")
}
}
function xf_508_xf_807_xforms_function(event) {
YAHOO.xbl.fr.Button.instance(this).readonly();}
function xf_508_xf_808_xforms_function(event) {
YAHOO.xbl.fr.Button.instance(this).readwrite();}
function xf_348_xforms_function(event) {
window.close();}
function xf_508_xf_806_xforms_function(event) {
YAHOO.xbl.fr.Button.instance(this).enabled();}
function fr_collapse_all_button_xf_753_xforms_function(event) {
YAHOO.xbl.fr.Button.instance(this).enabled();}
function fr_collapse_all_button_xf_754_xforms_function(event) {
YAHOO.xbl.fr.Button.instance(this).readonly();}
function fr_collapse_all_button_xf_755_xforms_function(event) {
YAHOO.xbl.fr.Button.instance(this).readwrite();}
function fr_email_button_xf_728_xforms_function(event) {
YAHOO.xbl.fr.Button.instance(this).readonly();}
function fr_email_button_xf_729_xforms_function(event) {
YAHOO.xbl.fr.Button.instance(this).readwrite();}
function fr_email_button_xf_727_xforms_function(event) {
YAHOO.xbl.fr.Button.instance(this).enabled();}
function xf_509_xf_816_xforms_function(event) {
YAHOO.xbl.fr.Button.instance(this).readonly();}
function xf_509_xf_815_xforms_function(event) {
YAHOO.xbl.fr.Button.instance(this).enabled();}
function xf_509_xf_817_xforms_function(event) {
YAHOO.xbl.fr.Button.instance(this).readwrite();}
function fr_workflow_review_button_xf_745_xforms_function(event) {
YAHOO.xbl.fr.Button.instance(this).enabled();}
function fr_workflow_review_button_xf_747_xforms_function(event) {
YAHOO.xbl.fr.Button.instance(this).readwrite();}
function fr_workflow_review_button_xf_746_xforms_function(event) {
YAHOO.xbl.fr.Button.instance(this).readonly();}
function xf_507_xf_797_xforms_function(event) {
YAHOO.xbl.fr.Button.instance(this).enabled();}
function xf_507_xf_799_xforms_function(event) {
YAHOO.xbl.fr.Button.instance(this).readwrite();}
function xf_507_xf_798_xforms_function(event) {
YAHOO.xbl.fr.Button.instance(this).readonly();}
function fr_pdf_button_xf_719_xforms_function(event) {
YAHOO.xbl.fr.Button.instance(this).readonly();}
function fr_pdf_button_xf_718_xforms_function(event) {
YAHOO.xbl.fr.Button.instance(this).enabled();}
function error_summary_control_bottom_xf_675_xforms_function(event) {
var observersElement = YAHOO.util.Dom.getElementsByClassName("xbl-fr-error-summary-observer", null, this)[0];
var observers = ORBEON.xforms.Document.getValue(observersElement.id).split(" ");
for (var j = 0; j < observers.length; j++) {
var observer = observers[j];
var observerElement = ORBEON.util.Dom.get(observer);
var controlElements = YAHOO.util.Dom.getElementsByClassName("xforms-control", null, observerElement);
for (var i = 0; i < controlElements.length; i++) {
var controlElement = controlElements[i];
YAHOO.util.Dom.addClass(controlElement, "xforms-visited");
if (YAHOO.util.Dom.hasClass(controlElement, "xforms-invalid"))
YAHOO.util.Dom.addClass(controlElement, "xforms-invalid-visited");
}
var activeAlertElements = YAHOO.util.Dom.getElementsByClassName("xforms-alert-active", null, observerElement);
for (var i = 0; i < activeAlertElements.length; i++) {
var activeAlertElement = activeAlertElements[i];
YAHOO.util.Dom.addClass(activeAlertElement, "xforms-alert-active-visited")
}
}
}
function error_summary_control_bottom_xf_679_xforms_function(event) {
var observersElement = YAHOO.util.Dom.getElementsByClassName("xbl-fr-error-summary-observer", null, this)[0];
var observers = ORBEON.xforms.Document.getValue(observersElement.id).split(" ");
for (var j = 0; j < observers.length; j++) {
var observer = observers[j];
var observerElement = ORBEON.util.Dom.get(observer);
var controlElements = YAHOO.util.Dom.getElementsByClassName("xforms-control", null, observerElement);
for (var i = 0; i < controlElements.length; i++) {
var controlElement = controlElements[i];
YAHOO.util.Dom.removeClass(controlElement, "xforms-visited");
YAHOO.util.Dom.removeClass(controlElement, "xforms-invalid-visited");
}
var activeAlertElements = YAHOO.util.Dom.getElementsByClassName("xforms-alert-active-visited", null, observerElement);
for (var i = 0; i < activeAlertElements.length; i++) {
var activeAlertElement = activeAlertElements[i];
YAHOO.util.Dom.removeClass(activeAlertElement, "xforms-alert-active-visited")
}
}
}
function fr_back_button_xf_701_xforms_function(event) {
YAHOO.xbl.fr.Button.instance(this).readonly();}
function xf_500_xf_781_xforms_function(event) {
YAHOO.xbl.fr.Button.instance(this).readwrite();}
function xf_506_xf_788_xforms_function(event) {
YAHOO.xbl.fr.Button.instance(this).enabled();}
function fr_back_button_xf_702_xforms_function(event) {
YAHOO.xbl.fr.Button.instance(this).readwrite();}
function xf_500_xf_780_xforms_function(event) {
YAHOO.xbl.fr.Button.instance(this).readonly();}
function xf_506_xf_789_xforms_function(event) {
YAHOO.xbl.fr.Button.instance(this).readonly();}
function fr_back_button_xf_700_xforms_function(event) {
YAHOO.xbl.fr.Button.instance(this).enabled();}
function fr_save_button_xf_737_xforms_function(event) {
YAHOO.xbl.fr.Button.instance(this).readonly();}
function fr_save_button_xf_736_xforms_function(event) {
YAHOO.xbl.fr.Button.instance(this).enabled();}
function fr_pdf_button_xf_720_xforms_function(event) {
YAHOO.xbl.fr.Button.instance(this).readwrite();}
function xf_500_xf_779_xforms_function(event) {
YAHOO.xbl.fr.Button.instance(this).enabled();}
function xf_506_xf_790_xforms_function(event) {
YAHOO.xbl.fr.Button.instance(this).readwrite();}
function xformsPageLoadedServer() { ORBEON.xforms.server.Server.callUserScript("fr_back_button_xf_700_xforms_function","fr-back-button$trigger","fr-back-button$trigger");ORBEON.xforms.server.Server.callUserScript("fr_clear_button_xf_709_xforms_function","fr-clear-button$trigger","fr-clear-button$trigger");ORBEON.xforms.server.Server.callUserScript("xf_491_xforms_function","fr-pdf-button-group","fr-pdf-button-group");ORBEON.xforms.server.Server.callUserScript("fr_pdf_button_xf_718_xforms_function","fr-pdf-button$trigger","fr-pdf-button$trigger");ORBEON.xforms.server.Server.callUserScript("fr_email_button_xf_727_xforms_function","fr-email-button$trigger","fr-email-button$trigger");ORBEON.xforms.server.Server.callUserScript("fr_save_button_xf_736_xforms_function","fr-save-button$trigger","fr-save-button$trigger");ORBEON.xforms.server.Server.callUserScript("fr_workflow_review_button_xf_745_xforms_function","fr-workflow-review-button$trigger","fr-workflow-review-button$trigger");ORBEON.xforms.server.Server.callUserScript("fr_collapse_all_button_xf_753_xforms_function","fr-collapse-all-button$trigger","fr-collapse-all-button$trigger");ORBEON.xforms.server.Server.callUserScript("fr_expand_all_button_xf_761_xforms_function","fr-expand-all-button$trigger","fr-expand-all-button$trigger");ORBEON.xforms.server.Server.callUserScript("xf_499_xf_770_xforms_function","xf-499$trigger","xf-499$trigger");ORBEON.xforms.server.Server.callUserScript("xf_500_xf_779_xforms_function","xf-500$trigger","xf-500$trigger");ORBEON.xforms.server.Server.callUserScript("xf_506_xf_788_xforms_function","xf-506$trigger·1","xf-506$trigger·1");ORBEON.xforms.server.Server.callUserScript("xf_507_xf_797_xforms_function","xf-507$trigger·2","xf-507$trigger·2");ORBEON.xforms.server.Server.callUserScript("xf_508_xf_806_xforms_function","xf-508$trigger·3","xf-508$trigger·3");ORBEON.xforms.server.Server.callUserScript("xf_509_xf_815_xforms_function","xf-509$trigger·4","xf-509$trigger·4"); }</script><script type="text/javascript">var orbeonInitData = orbeonInitData || {}; orbeonInitData["xforms-form"] = {"paths":{"xforms-server": "/orbeon/xforms-server","resources-base": "/orbeon/"},"controls":{"dialog":{"":["fr-download-save-dialog","fr-clear-confirm-dialog","fr-submission-result-dialog","fr-error-details-dialog"]}}};</script><script type="text/javascript">
function unload_handler() {
try{
if (!ORBEON.xforms.Document.isReloading() && ORBEON.xforms.Document.getValue('fr-data-safe-input') != 'true') {
return "You may lose some unsaved changes.";
}
} catch (ex) {
}
}
window.onbeforeunload = unload_handler;
</script>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment