I thought so, but I disabling in the wrong place, silly me, thanks again
everyone for the meaty and quick responses.
-----Original Message-----
From: Michael Kay [mailto:mike(_at_)saxonica(_dot_)com]
Sent: Thursday, April 07, 2005 8:55 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: RE: [xsl] Help Me Do Something Bad
Think of it this way: parsing the data turns angle brackets into nodes, and
< into angle brackets. You can think of this as unescaping. Serializing
the data turns nodes into angle brackets, and angle brackets into < You
can think of this as escaping. In your transformation you want to turn <
into angle brackets which means you need to unescape once more often than
you escape. This is what disable-output-escaping does.
Michael Kay
http://www.saxonica.com/
-----Original Message-----
From: kent [mailto:kent(_at_)generatescape(_dot_)com]
Sent: 07 April 2005 19:16
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] Help Me Do Something Bad
I know escaped content in xml is bad, but I've got some and I wanna do
something with it. Pleas help?!
I have markup like this:
<description>Platform Computing's <a
href="http://www.platform.com/newsevents/pressreleases/preleas
e.asp?id=82"
> announcement </a> However, <a
href="http://www.gridsystems.com" >...</description>
I want to transform it to html. Like this,
<xsl:for-each select="description" >
<xsl:apply-templates />
</xsl:for-each>
I do not believe disable-output-escaping is the solution cuz
it has already
been disabled. So I am stumped how do I de-escape this? Any help would
really be appreciated.
Thanks
kent
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail:
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--