[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Disable Output Esacping Problems

Subject: Re: Disable Output Esacping Problems
From: Joerg Heinicke <joerg.heinicke@xxxxxx>
Date: Wed, 06 Nov 2002 21:54:16 +0100
Re:  Disable Output Esacping Problems
Hello Rechell,

what about my last mail? I suggested a solution (I hope so). And I said "Don't use disable-output-escaping!" See http://aspn.activestate.com/ASPN/Mail/Message/XSL-List/1422654.

Does anybody what's up with archive at sources.redhat.com??



Schwartz, Rechell R, ALCAS wrote:

I am trying to generate an HTML file that will really be generated as an XML file and then be used as input to another XSL stylesheet (for styling purposes) where it will then be converted to a new HTML file for display in the browser. In the second XSLT file, the program goes through each <TR> and <TD> tag and adds an appropriate atribute for styling.

In the first XSLT file I need (or I think I need) to disable output esacping because I need to generate non-symmetrical XML tags. The disabling of output esacping generates the expected output, but the second XSLT file doesn't seem to recognize the <TD> and <TR> tags whose output was escaped and fails to apply the appropriate styling to these tags.

Here is the code:

<xsl:template match="Side Dish">
<xsl:if test="position() = 1">
	<xsl:text disable-output-escaping="yes"><![CDATA[<tr><td>Side Dish:</td><td>]]></xsl:text>
      <xsl:value-of select="."/>
	<xsl:when test="position() != last()">
 		<xsl:text>, </xsl:text>
		<xsl:text disable-output-escaping="yes"><![CDATA[</td></tr>]]></xsl:text>

Any help would be greatly apprecited.


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.