RE: < problem
Thomas, First of all, you have a couple of typos, the $ in front of the second lt, and you're missing the second > after the /a. Once you fix that, this should work fine. Now, if the problem is still there, you may have an issue with recursive calls to the link element. The disable-output-escaping attribute is not recursive, meaning it loses it's value outside of the current context. So if you are using <xsl:value-of> inside another <xsl:value-of>, both should have the disable-output-escaping set to "yes". (Remember, if it's not set it defaults to "no"). A variable with the value of "link" using disable-output-escaping will also lose the "disablement" if you call the variable without disable-output-escaping set to "yes": <xsl:variable name="test"> <xsl:value-of disable-output-escaping="yes" select="//link"/> </xsl:variable> <xsl:template match="/"> <xsl:value-of select="$test"/> </xsl:template> Even though the output-escaping of the variable is disabled, calling the value of $test without disable-output-escaping changes it back to escaped. -------------- Zarella Rendon Principal Consultant HMM Consulting International, Inc. DTDs/schemas - conversion - ebooks - publishing - Web - B2B - training <URL: http://www.hmmci.com/ > zarella@xxxxxxxxx > -----Original Message----- > From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx > [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of thomas george > Sent: Monday, October 29, 2001 1:25 PM > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: < problem > > > Hi Guys, > I have a very silly problem sorry for the > ignorance. I have an xml element which goes as below > > <link>This link do a <a href="click.pdf">click > $lt;/a</link> . > > and my style is as below > <xsl:value-of disable-output-escaping = "yes" > select="normalize-space(link)"/> > > but the output does not give me a link in the html it > still gives me the same out put without a link with > entity references as below > > This link do a <a href="click.pdf">click $lt;/a > > am i dooing something wrong or am i missing something > please correct me. > > Thanx > Thomas > > __________________________________________________ > Do You Yahoo!? > Make a great connection at Yahoo! Personals. > http://personals.yahoo.com > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
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