Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

disable-output-escaping does not work

Status
Not open for further replies.

scriggs

IS-IT--Management
Jun 1, 2004
286
GB
I am using phpreports which I downloaded of the net.

I am running apache, php5 on windows server.

The system works great except it is programmed to use disable-output-escaping but it does not seem to work. It shows up &lt &rt instead of the tags.

Any ideas??

Code:
<xsl:text disable-output-escaping="yes">&lt;SPAN CLASS=&quot;</xsl:text>
 
Did you notice in the faq (8), it tells that you need to put html element inside <XHTML> element in a page? Maybe you can try this?
[tt] <xsl:text>&lt;XHTML&gt;&lt;SPAN CLASS=&quot;</xsl:text>[/tt]
Then at the corresponding closing span tag, do something similar.
[tt] <xsl:text>&lt;/SPAN&gt;&lt;/XHTML&gt;</xsl:text>
[/tt]
 
Thanks for the advice, I tried changing the code but it does not work for me. I get the &lt; and &gt; showing in the code and displaying as text on screen rather than being interpreted as tags.

<XHTML>SPAN CLASS="BOLD"</XTML>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top