xsl-list
[Top] [All Lists]

RE: Help Me Do Something Bad

2005-04-07 11:37:03
I thought it would have been answered but I really couldn't find a fitting
solution, so I decided to come to the gurus. Thanks for the interest.

I am doing this client side. I am doing the transformation in java with the
standard javax.xml.transform libraries.

I have to regex this? Really, I would have thought there was some built in
xml technology that could handle this.


-----Original Message-----
From: M. David Peterson [mailto:m(_dot_)david(_dot_)x2x2x(_at_)gmail(_dot_)com] 
Sent: Thursday, April 07, 2005 8:28 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] Help Me Do Something Bad

Client-side or server-side, in process or out? RegEx works well if you
do this client side or server side out of XSLT process.  Mike Kay,
DaveP, David Carlisle, or Wendell can all give you a much better feel
for your options here though...  I think they have answered this
question so many times its become second, third, and fourth nature by
now (if there is such a thing :)  At the moment I am finding myself
trying to get out of 2.0 mode and its not working...  I'm not sure if
this is a good thing or a bad thing... :)

Cheers :)

On Apr 7, 2005 12:16 PM, kent <kent(_at_)generatescape(_dot_)com> wrote:
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 &lt;a
href="http://www.platform.com/newsevents/pressreleases/prelease.asp?id=82";
&gt; announcement &lt;/a&gt; However, &lt;a
href="http://www.gridsystems.com"; &gt;...</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>
--~--




-- 
<M:D/>

:: M. David Peterson ::
XML & XML Transformations, C#, .NET, and Functional Languages Specialist

--~------------------------------------------------------------------
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>
--~--