Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and ListThe Template is not well-formed: The Template is not well-formed: '<', hexadecimal value 0x3C, is an invalid attribute character.
Previous
 
Next
New Post
10/7/2010 2:52 PM
 
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"?>
02.<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:udt="DotNetNuke/UserDefinedTable" exclude-result-prefixes="udt" xmlns:fb="http://www.facebook.com/2008/fbml">
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}"
24.                     content="Echo Content. <fb:req-choice url='http://apps.facebook.com/ratemeshareme/' label='{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>

Shawn E Carter www.ShawnsSpace.com
 
New Post
10/7/2010 4:18 PM
 
I would try
<fb:request-form action="http://ratemeshareme.com/"
21.                     method="POST"
22.                     invite="true"
23.                     type="{udt:Testing}" >
24.       <xsl:attribute name="content">Echo Content. <fb:req-choice url='http://apps.facebook.com/ratemeshareme/' label='{udt:Testing}' /><xsl:attribute/>
 
New Post
10/7/2010 5:23 PM
 
Thank you  Stefan for your prompt replay, i was unable to use your resolve.  I did how ever find a resolve, i simply html encoded the brackets <>.  Seems as though it worked great


<fb:request-form action="http://ratemeshareme.com/facebook/FBTools.aspx"
                     method="POST"
                     invite="false"
                     type="{udt:Testing}"
                     content="Content for user
                     &lt;fb:req-choice url='http://apps.facebook.com/ratemeshareme/FBTools.aspx' label='Echo Label' /&gt;">


"i tried to add that snippet to the forum code block but it decoded the brackets so i just added plain."

Shawn E Carter www.ShawnsSpace.com
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and ListThe Template is not well-formed: The Template is not well-formed: '<', hexadecimal value 0x3C, is an invalid attribute character.


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out