Here is a basic template, with my form inserted. i tried escaping the value but will not work with the form so far, any input would be grateful.
The Template is not well-formed:
'<', hexadecimal value 0x3C, is an invalid attribute character. Line 24, position 45.
The problems is when i escape the < /> characters causing the error they render escaped in the form.
How do i make only those 3 characters un-escape before being rendered.
01.
<?
xml
version
=
"1.0"
encoding
=
"UTF-8"
?>
03.
<
xsl:output
method
=
"xml"
indent
=
"yes"
omit-xml-declaration
=
"yes"
/>
04.
<!--
05.
This prefix is used to generate module specific query strings
06.
Each querystring or form value that starts with udt_{ModuleId}_param
07.
will be added as parameter starting with param
08.
-->
09.
<
xsl:variable
name
=
"prefix_param"
>udt_<
xsl:value-of
select
=
"//udt:Context/udt:ModuleId"
/>_param</
xsl:variable
>
10.
11.
<
xsl:template
match
=
"udt:Data"
mode
=
"list"
>
12.
<
tr
class
=
"Normal"
>
13.
<
td
>
14.
<
xsl:call-template
name
=
"EditLink"
/>
15.
</
td
>
16.
<
td
>
17.
<
xsl:value-of
select
=
"udt:Testing"
disable-output-escaping
=
"yes"
/>
18.
<
fb:serverfbml
width
=
"615"
>
19.
<
script
type
=
"text/fbml"
>
20.
<
fb:request-form
action
=
"http://ratemeshareme.com/"
21.
method
=
"POST"
22.
invite
=
"true"
23.
type
=
"{udt:Testing}"
25.
<
fb:multi-friend-selector
showborder
=
"false"
26.
bypass
=
"cancel"
27.
cols
=
4
28.
actiontext
=
"{udt:Testing}"
/>
29.
</
fb:request-form
>
30.
</
script
>
31.
</
fb:serverfbml
>
32.
</
td
>
33.
</
tr
>
34.
</
xsl:template
>
35.
36.
<
xsl:template
match
=
"/udt:UserDefinedTable"
>
37.
<
xsl:variable
name
=
"currentData"
select
=
"udt:Data"
/>
38.
<
xsl:if
test
=
"$currentData"
>
39.
<
table
>
40.
<
xsl:apply-templates
select
=
"$currentData"
mode
=
"list"
>
41.
</
xsl:apply-templates
>
42.
</
table
>
43.
</
xsl:if
>
44.
</
xsl:template
>
45.
46.
<
xsl:template
name
=
"EditLink"
>
47.
<
xsl:if
test
=
"udt:EditLink"
>
48.
<
a
href
=
"{udt:EditLink}"
>
49.
<
img
border
=
"0"
alt
=
"edit"
src
=
"{//udt:Context/udt:ApplicationPath}/images/edit.gif"
/>
50.
</
a
>
51.
</
xsl:if
>
52.
</
xsl:template
>
53.
</
xsl:stylesheet
>