PDA

View Full Version : Passing text variables with special characters


arina
11-15-2004, 12:53 AM
This is my problem: setting text attribute with such a value "Archive consists of <&lt;b&gt;n&lt;/b&gt; letters" and passing it to another text attribute to display. Debugger says it comes here in the view "Archive consists of <<b>n</b> letters". So, it doesn't display correctly my string.

Here below is the code:


<class name="footer_background" x="5">
<!--Here as "Archive consists of <b>n</b>"-->
<attribute name="text" type="string"/>
...
...
<!--Passing here-->
<text x="1" bgcolor="white" text="${parent.parent.text}"/>
...
</class>




<!--Passing from here-->
<footer_background text="Archive consists of &lt;b&gt;n&lt/b&gt; letters"/>