[xsl] Is there a way to utilise disable-output-escaping in apply-templates?

Subject: [xsl] Is there a way to utilise disable-output-escaping in apply-templates?
From: Karl <call14@xxxxxxxxx>
Date: Wed, 13 Sep 2006 18:10:16 +0100 (BST)
In my xslt, i use apply-templates instead of value-of select at quite
a few places and everything is working fine. Basically, my xslt's
html output is been stored into a database something like

field x = ...<p>contents with quote's & "s too</p>..and some other
tags + contents

different fields store different section of html code and finally
another environment assemble them to deliver the final output.

However, now we realised that storing of the html output fails in
some fields when encountering speacial chars like ", ' etc [we still
explore why it fails only in few places]. 

As a quick solution, we want to use disable-output-escaping="no" in
xslt, thinking that will make
field x = ...<p>contents with quote&#xxx;s & &#xxx;s too</p>..
[xxx - relevant values] which might allow us to store the data
without fail. But the trouble is we cannot use with
disable-output-escaping with apply-templates. Is there a way around? 

Thanks,
karl


		
___________________________________________________________ 
Copy addresses and emails from any email account to Yahoo! Mail - quick, easy and free. http://uk.docs.yahoo.com/trueswitch2.html

Current Thread