Morning All
I have created a freetext variant using the following code:
<title>psx-sys_title</title>
<link psx-href="$rxs_navbase/css/Tourist.css" rel="stylesheet" href="css/Tourist.css" type="text/css" />
</head>
<body>
<!-- begin XSL -->
<xsl:value-of select="//shared/body/div/p/*" />
<!-- end XSL -->
</body>
</html>
within the explorer I have used the following code in my ephox
<div class="rxbodyfield">
<p><input type="hidden" value="" /> <input name="emv_pageok" type="hidden" value="http://www.poferries.com/tourist/content/pages/template/offers_thank_you.htm" /> <input name="emv_bounceback" type="hidden" value="1" /> <input name="emv_MESSAGEID" type="hidden" value="1252717" /> <input name="EMV_BBREPLYTO" type="hidden" value="customer.services@poferries.com" /> <input name="emv_clientid" type="hidden" value="35920" /> <input name="emv_webformtype" type="hidden" value="3" /> <input name="PROSPECT_FIELD" type="hidden" value="PROSPECT_WEB" /> <input name="Language_field" type="hidden" value="GB" /> <input type="text" name="EMAIL_FIELD" value="your email address" onclick="this.value=''" id="EmailAdd" />*</p>
</div>
I would expect this to output the input values within p tags but nothing is being returned. We know the variant is working as it is returning the following XML results:
- <shared>
- <body>
- <div class="rxbodyfield">
- <p>
<input type="hidden" value="" />
<input name="emv_pageok" type="hidden" value="http://www.poferries.com/tourist/content/pages/template/offers_thank_you.htm" />
<input name="emv_bounceback" type="hidden" value="1" />
<input name="emv_MESSAGEID" type="hidden" value="1252717" />
<input name="EMV_BBREPLYTO" type="hidden" value="customer.services@poferries.com" />
<input name="emv_clientid" type="hidden" value="35920" />
<input name="emv_webformtype" type="hidden" value="3" />
<input name="PROSPECT_FIELD" type="hidden" value="PROSPECT_WEB" />
<input name="Language_field" type="hidden" value="GB" />
<input id="EmailAdd" name="EMAIL_FIELD" onclick="this.value=''" type="text" value="your email address" />
</p>
</div>
</body>
</shared>
Can anyone see why this would be going wrong?