<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet href="xsltforms/xsltforms.xsl" type="text/xsl"?>
<?xsltforms-options debug="no"?>
<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"
      xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      
<head>
<title>Strategic Plan Form</title>
<meta name="DC.title" content="StratML Part 1 ISO Version XForm"/>
<meta name="title" content="Strategic Plan (StratML Part 1 ISO) XForm" />
<meta name="DC.subject" scheme="DCTERMS.LCSH" content="Strategic Plans, StratML ISO, StratML, XForms, XSLTForms" />
<meta name="DC.contributor" content="Joe Carmel"/>
<meta name="DC.contributor" content="Alain Couthures (agencexml.com)"/>
<meta name="DC.contributor" content="Owen Ambur"/>
<meta name="DC.contributor" content="Jorge Sanchez Rodriguez (vionta.net)"/>
<meta name="DC.rights" content="Public domain"/>
<meta name="DC.rights.accessRights" content="public" />
<meta name="DC.format.medium" scheme="DCTERMS.IMT" content="text/xml" /> 
<meta name="medium" content="XForm" />
<meta name="DC.identifier" scheme="DCTERMS.URI" content="http://www.xmldatasets.net/stratml/" />
<meta name="DC.language" scheme="DCTERMS.RFC3066" content="en-US" /> 
<meta http-equiv="Content-Language" content="en-US" />
<meta name="keywords" content="Strategic Plans, StratML, XForms, XSTForms" />
<meta name="DC.date" content="2015-05-01"/>

<style type="text/css">
hr {height: 5px; width: 22%; color: red; background-color: red; }
hr.goal {height: 10px; width: 80%; color: blue; background-color: blue; }
h1 {color:orange; }
div.logo {font-family: Garamond; font-size:300%; font-weight: bold;}
span.definition {font-family: Helvetica; font-size:40%;}
span.button {font-family: Helvetica; font-size:100%; width:15ex;}
div.intro {font-family: Arial; font-size:95%; text-align:left;}
div.LEFT {font-family: Helvetica; font-size:100%; text-align:left; margin:15px;}
@namespace xf url("http://www.w3.org/2002/xforms");
 label, legend {font-weight: normal;}
 
/* The default field width for all inputs */
.xforms-value {width: 125px; font-size: 150%}
 
/* custom field width overrides relative to current font size */
/* ex is the size of the current lowercase 'x' in pixels */
/* em is the size of the current "M" character in pixels */
.Source .xforms-value {width:60ex}
.Acronym .xforms-value {width:50ex}
.SequenceIndicator .xforms-value {width:45ex}
.SequenceIndicator1 .xforms-value {width:45ex}
.name .xforms-value {width:45ex}

.email .xforms-value {width:45ex; font-size: 150%}
.textarea .xforms-value {width:70ex; font-family: Helvetica;sans-serif; font-size: 150%}
.textareabig .xforms-value {width:100ex; font-family: Helvetica;sans-serif; font-size: 125%}

.StakeholderTypeType .xforms-value {width:30ex}


td {vertical-align: top;}
</style>

<xf:model>
	<xf:instance xmlns="">
	<StrategicPlan>
	<id></id>
	<Name>Plan Name Goes Here</Name>
	<Description></Description>
	<OtherInformation></OtherInformation>

	<StrategicPlanCore>
		
	<Organization>
		<Name></Name> 
		<Acronym></Acronym> 
		<Identifier></Identifier>
		<Description></Description>
		<Stakeholder StakeholderTypeType="">
			<Name></Name>
			<Description></Description>
		</Stakeholder>
	</Organization>
	<Vision>
		<Description></Description>
		<Identifier></Identifier>					
	</Vision>
	<Mission>
		<Description></Description>
		<Identifier></Identifier>
	</Mission>
 	<Value>
		<Name></Name>
		  <Description></Description> 
	</Value>
				
	 <Goal>
		<Name></Name>
		<Description></Description>
		<Identifier></Identifier>
		<SequenceIndicator></SequenceIndicator> 
		 <Stakeholder StakeholderTypeType="">
			<Name></Name> 
			<Description></Description> 
		 </Stakeholder>
		<OtherInformation></OtherInformation>
		<Objective>
			<Name></Name> 
			<Description></Description> 
			<Identifier></Identifier>				
			<SequenceIndicator></SequenceIndicator> 
			<Stakeholder StakeholderTypeType="">
				<Name></Name> 
				<Description></Description> 
			</Stakeholder>
			<OtherInformation></OtherInformation>
		</Objective>
	</Goal>

	</StrategicPlanCore>
				
	<AdministrativeInformation>
		<StartDate></StartDate>
		<EndDate></EndDate>
		<PublicationDate></PublicationDate>
		<Source></Source>
		<Submitter>
	 		<GivenName></GivenName>
			<Surname></Surname>
			<PhoneNumber></PhoneNumber>
			<EmailAddress></EmailAddress>
		</Submitter>
	</AdministrativeInformation>
				
</StrategicPlan>

</xf:instance>


<xf:bind nodeset="AdministrativeInformation/StartDate" type="xf:date"/>
<xf:bind nodeset="AdministrativeInformation/EndDate" type="xf:date"/>
<xf:bind nodeset="AdministrativeInformation/PublicationDate" type="xf:date"/>
<xf:bind nodeset="/StrategicPlan/Name" required="true()" type="xsd:string"/>
<xf:bind nodeset="AdministrativeInformation/Submitter/EmailAddress" type="xf:email"/>


<xf:submission id="s01" method="post" show="new" replace="all" action="../cgi-bin/txs.php?exec=beautify.txs">
	<xf:message level="modeless" ev:event="xforms-submit-error">Submit error.</xf:message>				
</xf:submission>
<xf:submission id="s02" show="new" method="post" action="../forms2/showisopost1.pl"/>
<xf:submission id="s03" show="new" method="post" action="../forms2/showisopost2.pl"/>
<xf:submission id="s_html" show="new" method="post" action="../forms2/showisopost2.pl"/>
<xf:submission id="htmtiki" show="new" method="post" action="../cgi-bin/htmtiki.pl"/>

<xf:submission id="catalog-entry" show="new" method="post" action="../cgi-bin/cat1.pl"/>
<xf:submission id="catalog-xform" show="new" method="post" action="../cgi-bin/catxform.pl"/>
<xf:submission id="s04" method="xml-urlencoded-post" replace="none" action="xsltforms/txs.php?exec=returnasattachment.txs&amp;file=mycontact.xml">
	<xf:message level="modeless" ev:event="xforms-submit-error">Submit error.</xf:message>
</xf:submission>
</xf:model>

</head>


<!-- =================================== -->
<!-- =================================== -->
<body>


<!-- =================================== -->
<!-- Background table -->
<center>
<table style="width:100%;margin-top:0px;margin-bottom:0px;background-color:blue;" border="0" cellpadding="0" cellspacing="0">
<tr><td align="center"><a name="top"></a>
<p></p>



<!-- =================================== -->
<!-- Main area -->
<table width="890" border="0" cellpadding="0" cellspacing="0" style="margin-top:1px; background-color:#ffffff; border-bottom:1px solid black">
	<tr><td>
	<!-- StratML banner -->
	<table border="0">
		<tr valign="top">
		<td valign="top" align="left"><img width="120px" src="Plan_H.jpg" alt="StratML logo"/></td>
		<td valign="top" align="left"><div class="logo">Strategic Plan Form<font size="1"><br/></font>
			<span class="definition"><b>Strategy Markup Language (StratML) Part 1 (ISO 17469-1), Strategic Plans</b></span></div>
		<table width="50%">
			<tr align="center">
			<!-- <td> <span class="button"><b><a href="http://legisworks.org/StratML/catalog.html" target="_blank">Catalog </a>  </b></span></td> -->
			<!-- <td><span class="button"><b><a href="http://xml.fido.gov/stratml/drybridge/urls.xml" target="_blank">URLs to try</a>  </b></span></td> -->
			<!-- <td><span class="button"><b><a href="http://stratml.us/StratMLSiteMap.xml" target="_blank">URLs to try</a>  </b></span></td> -->			 
                        <td><span class="button"><b><a href="http://stratml.us/forms/Part2Form.xml" target="_blank">Part 2, Performance Plan/Report, Form </a>  </b></span></td>
			<td><span class="button"><b><a href="http://stratml.us" target="_blank">StratML.us </a>  </b></span></td>
			<!-- <td><span class="button"><b><a href="http://www.agencexml.com" target="_blank">XSLTForms</a>  </b></span></td> -->
			<!-- <td><span class="button"><b><a href="http://www.w3.org/TR/xforms/" target="_blank">XForms Spec</a>  </b></span></td> -->
			<!-- <td><span class="button"><b><a href="aboutstratxform.html" target="_blank">About</a> </b></span></td> -->
			<!-- Added link to the spanish version -->
			<!-- <td><span class="button"><b><a href="Part1Form_es.xml" alt="Spanish version">[es]</a> </b></span></td> -->
			<!-- //Added link to the spanish version -->
			</tr>
		</table>
		
		<p><div class="intro">
		<center>This form enables creation and editing of strategic plans in StratML Part 1 format.
		When you have finished, click the XML button to create the file and then save it on your hard drive.  By clicking on the XML+XSL button, you can save the file with styling but you will need to place the stylesheet in the same directory.  The stylesheet is available <a href="http://stratml.us/forms/part2stratml.xsl">here</a>.
		</center>
		<!-- After you post the file on your website, re-import the file here and catalog the file for others to find. -->
		</div></p>
		
		</td></tr>
	</table>
</td></tr>

<tr><td>
 		

<!-- =================================== -->
<!-- Submit URL or file --> 		 		
<center>
<table width="60%" border="1">
	<tr><td>
	<script src="fixurlaccess.js"></script>
<!-- Changed www.legisworks.org to stratml.us/forms -->
	<form id="formUrl" onsubmit="return loadUrlXml('walt4.pl');" style='border: 0px solid gray; padding: 5px' action='walt4.pl'>StratML <b>URL</b>: <input name='url' size='30' id="urlFrm"/>
	<input  style='font-size: 80%'  type='submit' value='Import StratML From URL'/>
	</form>
	
	</td><td>
<!-- Changed www.legisworks.org to stratml.us/forms -->
	<form style='border: 0px white; padding: 5px' action='walt4.pl' method='post' enctype='multipart/form-data' >
	Local StratML <b>File</b>: <input type='file' name='f' accept='.xml'/>
	<b> </b><input style='font-size: 80%' type='submit' value='Import StratML From File'/></form>
	</td></tr>
</table>
</center>



<!-- Display URL -->


<!-- =================================== -->
<!-- Plan Information -->
<div class="LEFT">
<h2><hr align="left"/>Plan Information</h2>
<ul>
<table>
<tr><td width="200px"><b>Name of Plan: </b></td><td>
	<xf:input class="Source" ref="Name">
		<xf:label></xf:label>
	</xf:input>			
	</td></tr>
	<tr><td><b>Source of Plan</b> (e.g., URL): </td><td>
	<xf:input class="Source" ref="AdministrativeInformation/Source">
		<xf:label></xf:label>
	</xf:input>
			
	<xf:trigger>
		<xf:label>Link</xf:label>
		<xf:action ev:event="DOMActivate">
        		<xf:load ref="AdministrativeInformation/Source" show="new"/>
		</xf:action>
	</xf:trigger>  			
			
</td></tr>

<tr valign="top"><td><b>Description of Plan: </b></td></tr><tr><td colspan="2">
     <xf:textarea rows="6" class="textareabig" ref="Description">
	         <xf:label></xf:label>
      </xf:textarea>
</td></tr>

<tr><td><b>Start Date of Plan: </b> </td><td>
	<xf:input ref="AdministrativeInformation/StartDate">
		<xf:label></xf:label>
	</xf:input>
</td></tr>

<tr><td><b>End Date of Plan: </b> </td><td>
	<xf:input ref="AdministrativeInformation/EndDate">
		<xf:label></xf:label>
	</xf:input>
</td></tr>
<tr><td><b>Publication Date: </b> </td><td>
	<xf:input ref="AdministrativeInformation/PublicationDate">
		<xf:label></xf:label>
	</xf:input>
</td></tr>

<tr valign="top"><td><b>Other Information: </b></td></tr><tr><td colspan="2">
     <xf:textarea rows="6" class="textareabig" ref="OtherInformation">
         <xf:label></xf:label>
      </xf:textarea>
</td></tr>
</table>
</ul>



<!-- =================================== -->
<!-- Organization Information -->
<h2><hr align="left"/>Organization Information</h2>
<ul>
<xf:group>
<xf:repeat id="orgrepeat" nodeset="StrategicPlanCore/Organization" appearance="compact">

<table>
<tr><td colspan="2"><h3>Organization <xf:output value="position()"/>:</h3></td></tr>
<tr><td colspan="2"><b>Organization Name: </b>
	<xf:input class="Source" ref="Name">
		<xf:label></xf:label>
	</xf:input>			
</td></tr>

<tr><td><b>Acronym: </b>
	<xf:input class="Acronym" ref="Acronym">
		<xf:label></xf:label>
	</xf:input>		
</td></tr>

<tr><td><b>Identifier: </b>
	<xf:input class="Source" ref="Identifier">
		<xf:label></xf:label>
	</xf:input>			
</td></tr>


<tr valign="top"><td><b>Organization Description:</b> </td></tr>
<tr><td>
	<xf:textarea rows="6" class="textarea" ref="Description">
		<xf:label></xf:label>
	</xf:textarea>			
</td></tr>


<!-- Organization Stakeholder section -->
<tr><td>
<ul>
<xf:group>
	<xf:repeat id="orgstakerepeat" nodeset="Stakeholder" appearance="compact">
	<table>
	<tr><td colspan="2"><h3>Stakeholder <xf:output value="position()"/>  of Organization:</h3></td></tr>

      <tr valign="top"><td><b>Stakeholder Type: </b></td><td>
           <xf:select1 class="StakeholderTypeType" ref="@StakeholderTypeType" appearance="minimal" incremental="true">  
                <xf:item>
                    <xf:label>Organization</xf:label>
                    <xf:value>Organization</xf:value> 
                </xf:item>
                <xf:item>
                    <xf:label>Person</xf:label>
                    <xf:value>Person</xf:value> 
                </xf:item>
                <xf:item>
                    <xf:label>Group</xf:label>
                    <xf:value>Generic_Group</xf:value> 
                </xf:item>
          </xf:select1></td></tr>
	
	<tr valign="top"><td><b>Stakeholder Name: </b></td><td>
	<xf:input  class="Source" ref="Name">
		<xf:label></xf:label>
	</xf:input></td></tr>

	<tr><td><b>Description: </b></td><td>
		<xf:textarea rows="6" class="textarea" ref="Description">
			<xf:label></xf:label>
		</xf:textarea>
	</td></tr>
	<tr><td> </td><td colspan="1">
		<xf:trigger>
		<xf:label>Remove Stakeholder</xf:label>
			<xf:delete nodeset="." at="1" if="count(//StrategicPlanCore/Organization/Stakeholder) > 1" ev:event="DOMActivate" />
		</xf:trigger>
	</td></tr>

	</table>
			
	<xf:trigger>
	<xf:label>Add Stakeholder</xf:label>
       	<xf:action ev:event="DOMActivate">
		<xf:insert nodeset="." at="1" position="before" />
		<xf:setvalue ref=".[current()]/Name"></xf:setvalue>
		<xf:setvalue ref=".[current()]/Description"></xf:setvalue>
		        			        	
		<!--	<xf:insert nodeset="Stakeholder" at="index('orgstakerepeat')" position="after"/>
		<xf:setvalue ref="//StrategicPlanCore/Organization/Stakeholder[last()]/Name"></xf:setvalue>
		<xf:setvalue ref="//StrategicPlanCore/Organization/Stakeholder[last()]/Description"></xf:setvalue> -->
	</xf:action>
	</xf:trigger>
			
	</xf:repeat>
</xf:group>
			
</ul>
</td></tr>

<tr><td colspan="2">
<xf:trigger>
	<xf:label>Remove Organization</xf:label>
	<xf:delete nodeset="." at="1" if="count(//StrategicPlanCore/Organization) > 1"   ev:event="DOMActivate" />
</xf:trigger>
</td></tr>

</table>
			
<xf:trigger>
	<xf:label>Add Organization</xf:label>
      	<xf:action ev:event="DOMActivate">
		<xf:insert nodeset="." at="1" position="before" />	
		<xf:delete nodeset="./Stakeholder" at="1" while="count(./Stakeholder) > 1" ev:event="DOMActivate" />				                        
		<xf:setvalue ref=".[current()]/Name"></xf:setvalue>
		<xf:setvalue ref=".[current()]/Acronym"></xf:setvalue>
		<xf:setvalue ref=".[current()]/Identifier"></xf:setvalue>
		<xf:setvalue ref=".[current()]/Description"></xf:setvalue>
		<xf:setvalue ref=".[current()]/Stakeholder/Name"></xf:setvalue>
		<xf:setvalue ref=".[current()]/Stakeholder/Description"></xf:setvalue>
	</xf:action>
</xf:trigger>

</xf:repeat>
</xf:group>
</ul>




<!-- =================================== -->
<!-- Vision -->
<h2><hr align="left"/>Vision</h2>
<ul>
	<table border="0">
	<tr valign="top"><td><b>Vision Identifier: </b></td><td>
			<xf:input  id="Vision" class="Source" ref="StrategicPlanCore/Vision/Identifier">
				<xf:label></xf:label>
			</xf:input></td></tr>

	<tr valign="top"><td><b>Vision Description: </b></td><td>
	
	
	 <xf:textarea rows="6" class="textareabig" ref="StrategicPlanCore/Vision/Description">
		         <xf:label></xf:label>
	      </xf:textarea>
</td></tr>
</table>
</ul>



<!-- =================================== -->
<!-- Mission -->
<h2><hr align="left"/>Mission</h2>
<ul>
	<table border="0">
	<tr valign="top"><td><b>Mission Identifier: </b></td><td>
			<xf:input  class="Source" ref="StrategicPlanCore/Mission/Identifier">
				<xf:label></xf:label>
			</xf:input></td></tr>

	<tr valign="top"><td><b>Mission Description: </b></td><td>
	
	
	 <xf:textarea rows="6" class="textareabig" ref="StrategicPlanCore/Mission/Description">
		         <xf:label></xf:label>
	      </xf:textarea>
</td></tr>
</table>
</ul>



<!-- =================================== -->
<!-- Values -->
<h2><hr align="left"/>Values (<xf:output value="count(//Value)"/>)</h2>
<ul>
	<xf:group>
			
		<xf:repeat id="valuerepeat" nodeset="StrategicPlanCore/Value" appearance="compact">

		<table border="0">
			<tr><td><h3>Value <xf:output value="position()"/>:</h3></td><td></td></tr>
			<tr><td><b>Name:</b> </td><td>
				<xf:input class="Source" ref="Name">
					<xf:label></xf:label>
				</xf:input>

				</td></tr>
			<tr><td><b>Description: </b></td><td>
				<xf:textarea rows="6" class="textarea" ref="Description">
					<xf:label></xf:label>
				</xf:textarea>
			</td></tr>
			<tr><td></td><td>
				<xf:trigger>
					<xf:label>Remove Value</xf:label>
					<xf:delete nodeset="." at="1" if="count(//Value) > 1"   ev:event="DOMActivate" />
				</xf:trigger>
			</td></tr>


			</table>
			
		<xf:trigger>
			<xf:label>Add Value </xf:label>
	        	<xf:action ev:event="DOMActivate">		        	
				<xf:insert nodeset="." at="1" position="before" />		                        			                        
				<xf:setvalue ref=".[current()]/Name"></xf:setvalue>
				<xf:setvalue ref=".[current()]/Description"></xf:setvalue>
	        	</xf:action>
		</xf:trigger>

		</xf:repeat>

	</xf:group>

</ul>



<!-- =================================== -->
<!-- Goals -->

<h2><hr align="left"/>Goals (<xf:output value="count(//Goal)"/>)</h2>
<ul>

<xf:group>
<xf:repeat id="goalrepeat" nodeset="StrategicPlanCore/Goal" appearance="compact">

<hr align="left" class="goal"/>
<table><tr><td>


	<h3>
	Goal <xf:output value="position()"/>:</h3></td></tr>
<tr><td><b>Goal Name:  </b></td><td>
<xf:input class="Source" ref="Name">
	<xf:label></xf:label>
</xf:input>
</td></tr>

<tr><td><b>Description: </b> </td><td>
	<xf:textarea rows="6" class="textarea" ref="Description">
		<xf:label></xf:label>
	</xf:textarea>
</td></tr>

<tr><td><b>Goal Identifier:  </b></td><td>
<xf:input class="Source" ref="Identifier">
	<xf:label></xf:label>
</xf:input>
</td></tr>


<tr><td><b>Sequence Indicator: </b> </td><td>
<xf:input class="SequenceIndicator" ref="SequenceIndicator">
	<xf:label></xf:label>
</xf:input>
</td></tr>

<tr valign="top"><td><b>Other Information: </b></td><td>
<xf:textarea rows="6" class="textarea" ref="OtherInformation">
         <xf:label></xf:label>
</xf:textarea>
</td></tr>


<!-- Stakeholder section -->
<tr><td></td><td>
<xf:group>
<xf:repeat id="goalstakerepeat" nodeset="Stakeholder" appearance="compact">
<table>

<tr><td colspan="2"><h3>Stakeholder <xf:output value="position()"/>  of Goal <xf:output value="count(parent::*/preceding-sibling::Goal) + 1"/>: </h3></td></tr>
      <tr valign="top"><td><b>Stakeholder Type: </b></td><td>
           <xf:select1 class="StakeholderTypeType" ref="@StakeholderTypeType" appearance="minimal" incremental="true">  
                <xf:item>
                    <xf:label>Organization</xf:label>
                    <xf:value>Organization</xf:value> 
                </xf:item>
                <xf:item>
                    <xf:label>Person</xf:label>
                    <xf:value>Person</xf:value> 
                </xf:item>
                <xf:item>
                    <xf:label>Group</xf:label>
                    <xf:value>Generic_Group</xf:value> 
                </xf:item>
          </xf:select1></td></tr>


<tr><td><b>Stakeholder Name: </b></td><td>
<xf:input class="Source" ref="Name">
	<xf:label></xf:label>
</xf:input></td></tr>

<tr><td><b>Description: </b></td><td>
<xf:textarea rows="6" class="textarea" ref="Description">
	<xf:label></xf:label>
</xf:textarea>
</td></tr>

<tr><td> </td><td>
<xf:trigger>
	<xf:label>Remove Stakeholder</xf:label>
	<xf:delete nodeset="." at="1" if="count(//Goal/Stakeholder) > 1" ev:event="DOMActivate" />
</xf:trigger>
			
</td></tr>

</table>

<xf:trigger>
	<xf:label>Add Stakeholder</xf:label>
<xf:action  ev:event="DOMActivate">
	<xf:insert nodeset="." at="1" position="before"/>
	<xf:setvalue ref=".[current()]/Name"></xf:setvalue>
	<xf:setvalue ref=".[current()]/Description"></xf:setvalue>

	<!-- <xf:insert nodeset="Stakeholder" at="index('goalstakerepeat')"
                       position="after"/>
          <xf:setvalue ref="Stakeholder[last()]/Name"></xf:setvalue>
          <xf:setvalue ref="Stakeholder[last()]/Description"></xf:setvalue> -->
</xf:action>

</xf:trigger>
</xf:repeat>
</xf:group>

</td></tr>
<!-- End of Stakeholder section -->





<!-- =================================== -->
<!-- Objectives -->


<tr><td></td><td>

<xf:group>
<xf:repeat id="objectiverepeat" nodeset="Objective" appearance="compact">
<table>
<tr><td colspan="2"><h3>Objective <xf:output value="position()"/>  of  Goal  <xf:output value="count(parent::*/preceding-sibling::Goal) + 1"/>:</h3></td></tr>

<tr><td><b>Objective Name: </b></td><td>
<xf:input class="Source" ref="Name">
	<xf:label></xf:label>
</xf:input></td></tr>

<tr><td><b>Description: </b></td><td>
<xf:textarea rows="6" class="textarea" ref="Description">
	<xf:label></xf:label>
</xf:textarea>
</td></tr>

<tr><td><b>Identifier: </b></td><td>
<xf:input class="Source" ref="Identifier">
	<xf:label></xf:label>
</xf:input></td></tr>


<tr><td><b>Sequence Indicator: </b></td><td>
<xf:input class="SequenceIndicator1" ref="SequenceIndicator">
	<xf:label></xf:label>
</xf:input></td></tr>


<tr><td></td><td>

<!-- Objective Stakeholder section -->
<tr><td></td><td>
<xf:group>
<xf:repeat id="objstakerepeat" nodeset="Stakeholder" appearance="compact">
<table>
<tr><td colspan="2"><h3>Stakeholder <xf:output value="position()"/>  of this Objective:</h3></td></tr>

      <tr valign="top"><td><b>Stakeholder Type: </b></td><td>
           <xf:select1 class="StakeholderTypeType" ref="@StakeholderTypeType" appearance="minimal" incremental="true">  
                <xf:item>
                    <xf:label>Organization</xf:label>
                    <xf:value>Organization</xf:value> 
                </xf:item>
                <xf:item>
                    <xf:label>Person</xf:label>
                    <xf:value>Person</xf:value> 
                </xf:item>
                <xf:item>
                    <xf:label>Group</xf:label>
                    <xf:value>Generic_Group</xf:value> 
                </xf:item>
          </xf:select1></td></tr>


<tr valign="top"><td><b>Stakeholder Name: </b></td><td>
<xf:input  class="Source" ref="Name">
	<xf:label></xf:label>
</xf:input></td></tr>

<tr><td><b>Description: </b></td><td>
<xf:textarea rows="6" class="textarea" ref="Description">
	<xf:label></xf:label>
</xf:textarea>
</td></tr>
<tr><td> </td><td colspan="1">
			
<xf:trigger>
	<xf:label>Remove Stakeholder</xf:label>
	<xf:delete nodeset="." at="1" if="count(nodeindex('objectiverepeat')/Stakeholder) > 1" ev:event="DOMActivate" />
	<xf:action if="count(nodeindex('objectiverepeat')/Stakeholder) = 1" ev:event="DOMActivate">
		<xf:setvalue ref="nodeindex('objectiverepeat')/Stakeholder/Name"/>
		<xf:setvalue ref="nodeindex('objectiverepeat')/Stakeholder/Description"/>
	</xf:action>
</xf:trigger>
			
</td></tr>
</table>





<xf:trigger>
	<xf:label>Add Stakeholder</xf:label>
	<xf:action  ev:event="DOMActivate">
					<xf:insert nodeset="." at="1" position="before"/>
					<xf:setvalue ref=".[current()]/Name"></xf:setvalue>
					<xf:setvalue ref=".[current()]/Description"></xf:setvalue>
	
	</xf:action>
</xf:trigger>
</xf:repeat>
</xf:group>

</td></tr>
<!-- End of Stakeholder section -->



<tr><td><b>Other Information: </b></td><td>
<xf:textarea rows="6" class="textarea" ref="OtherInformation">
	<xf:label></xf:label>
</xf:textarea>

</td></tr>
</td></tr><tr><td> </td><td colspan="1">


<xf:trigger>
	<xf:label>Remove Objective <xf:output value="position()"/></xf:label>
	<xf:delete nodeset="." at="1" if="count(//Goal/Objective) > 1" ev:event="DOMActivate" />
</xf:trigger>

</td><td></td></tr>

</table>

<xf:trigger>
	<xf:label>Add Objective</xf:label>
	<xf:action  ev:event="DOMActivate">
		<xf:insert nodeset="." at="1" position="before"/>
		<xf:delete nodeset="./Stakeholder" at="1" while="count(./Stakeholder) > 1" ev:event="DOMActivate" />
		<xf:setvalue ref=".[current()]/Name"></xf:setvalue>
		<xf:setvalue ref=".[current()]/Description"></xf:setvalue>
		<xf:setvalue ref=".[current()]/Identifier"></xf:setvalue>
		<xf:setvalue ref=".[current()]/SequenceIndicator"></xf:setvalue>
		<xf:setvalue ref=".[current()]/OtherInformation"></xf:setvalue>
		<xf:setvalue ref=".[current()]/Stakeholder/Name"></xf:setvalue>
		<xf:setvalue ref=".[current()]/Stakeholder/Description"></xf:setvalue>														
	</xf:action>
</xf:trigger>
			
</xf:repeat>
</xf:group>
			
</td></tr>
<!-- End of Objective section -->


<tr><td colspan="2"><br/>
				
<xf:trigger>
	<xf:label>Remove Goal <xf:output value="position()"/></xf:label>
	<xf:delete nodeset="." at="1" if="count(//StrategicPlanCore/Goal ) > 1" ev:event="DOMActivate" />
</xf:trigger>
</td></tr>

</table>

<xf:trigger>
	<xf:label>Add Goal</xf:label>
	<xf:action  ev:event="DOMActivate">
		<xf:insert nodeset="." at="1" position="before"/>
		<xf:delete nodeset="./Objective" at="1" while="count(./Objective ) > 1" ev:event="DOMActivate" />
		<xf:delete nodeset="./Stakeholder" at="1" while="count(./Stakeholder) > 1" ev:event="DOMActivate" />
		
		<xf:setvalue ref=".[current()]/Name"></xf:setvalue>
		<xf:setvalue ref=".[current()]/Description"></xf:setvalue>
		<xf:setvalue ref=".[current()]/Identifier"></xf:setvalue>
		<xf:setvalue ref=".[current()]/SequenceIndicator"></xf:setvalue>
		<xf:setvalue ref=".[current()]/OtherInformation"></xf:setvalue>
		<xf:setvalue ref=".[current()]/Stakeholder/Name"></xf:setvalue>
		<xf:setvalue ref=".[current()]/Stakeholder/Description"></xf:setvalue>
		<xf:setvalue ref=".[current()]/Objective/Name"></xf:setvalue>
		<xf:setvalue ref=".[current()]/Objective/Description"/>
		<xf:setvalue ref=".[current()]/Objective/Identifier"/>
		<xf:setvalue ref=".[current()]/Objective/SequenceIndicator" value="1"/>
		<xf:setvalue ref=".[current()]/Objective/OtherInformation"/>
		<xf:setvalue ref=".[current()]/Objective/Stakeholder/Name"/>
		<xf:setvalue ref=".[current()]/Objective/Stakeholder/Description"/>
	</xf:action>
</xf:trigger>
			
</xf:repeat>

</xf:group>
</ul>





<!-- =================================== -->
<!-- Submitter Information -->
<h2><hr align="left"/>Submitter Information</h2>
<ul>
<table><tr><td>
<xf:input class="name" ref="AdministrativeInformation/Submitter/GivenName">
	<xf:label><b> Given Name: </b></xf:label>
</xf:input>

</td><td>
<xf:input class="name" ref="AdministrativeInformation/Submitter/Surname">
	<xf:label><b> Surname: </b></xf:label>
</xf:input>
</td></tr>

<tr><td>
<xf:input class="email" ref="AdministrativeInformation/Submitter/EmailAddress">
	<xf:label> <b> Email Address: </b></xf:label>
</xf:input>
</td></tr>

<tr><td>
	<xf:input ref="AdministrativeInformation/Submitter/PhoneNumber">
		<xf:label> <b>Telephone Number: </b></xf:label>
	</xf:input>
</td></tr>

</table>
</ul>

</div>


<!-- =================================== -->
<!-- Submission buttons -->
<center>

<!-- <xf:submit submission="s04">
	<xf:label>Save As</xf:label>
</xf:submit>

<xf:submit submission="s01">
	<xf:label>View</xf:label>
</xf:submit> -->

<xf:submit submission="s02">
	<xf:label>XML</xf:label>
</xf:submit>
<xf:submit submission="s03">
	<xf:label>XML+XSL</xf:label>


</xf:submit>
<!--
<xf:submit submission="s_html">
	<xf:label>HTML</xf:label>
</xf:submit>
-->
<!--
<xf:submit submission="htmtiki">
	<xf:label>HTMTiki</xf:label>
</xf:submit>
			
<br/>
 <xf:submit submission="catalog-entry">
	<xf:label>CatEntry</xf:label>
</xf:submit> 
<xf:submit submission="catalog-xform">
	<xf:label>Catalog</xf:label>
</xf:submit> -->

<!--
<xf:trigger>
	<xf:label>Reset</xf:label>
	<xf:reset ev:event="DOMActivate"/>
</xf:trigger> -->
</center>
<p></p>
</td></tr>
<!-- End of main area -->
</table>


<p></p>
</td></tr>

<!-- End of full page backgroup table -->
</table>

<font face="Arial" size="-1">Form last updated: Sept. 1, 2015</font>
</center>
</body>
</html>
