RE: Help Me Do Something Bad
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.david.x2x2x@xxxxxxxxx] Sent: Thursday, April 07, 2005 8:28 PM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: 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@xxxxxxxxxxxxxxxxx> 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 <a > href="http://www.platform.com/newsevents/pressreleases/prelease.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 > > -- <M:D/> :: M. David Peterson :: XML & XML Transformations, C#, .NET, and Functional Languages Specialist
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format