<?xml-stylesheet type="text/xsl" href="/xforms-tests/xsltforms/xsltforms.xsl"?>
<html xmlns:my="http://commerce.example.com/payment" xmlns:txs="http://sourceforge.net/projects/txs" xmlns="http://www.w3.org/1999/xhtml" xmlns:req="http://www.agencexml.com/requests" xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <head>
        <title>11.1.q cdata-section-elements attribute of submission element</title>
        <link rel="stylesheet" href="../../driverPages/html/TestSuite11.css" type="text/css"/>
        <xforms:model>
			<xforms:instance>
				<car xmlns="">
					<make>Toyota
					  <model>Acura</model>
					</make>
					<year>2005</year>
					<color>blue</color>
				</car>
			</xforms:instance>
			<xforms:bind id="make_bind" nodeset="/car/make"/>
			<xforms:bind id="model_bind" nodeset="/car/make/model"/>
			<xforms:bind id="year_bind" nodeset="/car/year"/>
			<xforms:bind id="color_bind" nodeset="/car/color"/>
			<xforms:submission id="submit" action="http://www.agencexml.com/xforms-tests/xsltforms/echo.php" method="post" cdata-section-elements="make"/>
			<xforms:submission id="submit2" action="http://www.agencexml.com/xforms-tests/xsltforms/echo.php" method="post" cdata-section-elements="year"/>
        </xforms:model>
    </head>
    <body>
    	<xforms:group>
  			<xforms:label class="title">11.1.q cdata-section-elements attribute of submission element</xforms:label>
  		</xforms:group>
  		<xforms:group>
  			<xforms:label>
  			  When you activate the Submit (cdata="make") submit control you must see the value 
  			  " &lt;make&gt;&lt;![CDATA[Toyota]]&gt;&lt;model&gt;Acura&lt;/model&gt;&lt;![CDATA[]]&gt;&lt;/make&gt; " 
  			  in the form data. 
  			  When you activate the Submit (cdata="year") submit control you must see the value 
  			  " &lt;year&gt;&lt;![CDATA[2005]]&gt;&lt;/year&gt; " in the form data. 
  			</xforms:label>
  		</xforms:group>
  		<xforms:submit submission="submit">
  			<xforms:label>Submit (cdata="make")</xforms:label>
  		</xforms:submit>
  		<xforms:submit submission="submit2">
  			<xforms:label>Submit (cdata="year")</xforms:label>
  		</xforms:submit>
    </body>
</html>
