Sign In/My Account | View Cart  
advertisement

Article:
 Strange Transformations
Subject: Why not use "disable-output-escaping" instead?
Date: 2002-04-25 08:09:36
From: Dan Cederholm

I've been dealing with large CDATA sections containing HTML and have handled like this:


<xsl:value-of select="." disable-output-escaping="yes"/>


This will preserve any HTML tags within CDATA sections and works fine in Sablotron and Xalan. Seems wrong to me to change the output of the whole document to "text".


Dan


Previous Message Previous Message   Next Message Next Message


Sponsored By: