Subject: Re: [xsl] xsl: help (urgent) From: Peter Flynn <peter@xxxxxxxxxxx> Date: Tue, 10 Apr 2001 09:58:00 +0100 |
At Tuesday, 10 April 2001, Jeni wrote: >> <DESCRIPTION>Search and download the <a >> href=\"http://openworld.oracle.com/oowdba-wwwprd- >> apps/plsql/oow_user.show_public?p_event=3&p_type=search\">Oracle >> OpenWorld 2000 technical papers and presentations</a>, over 250 >> papers and presentations in total from Oracle and partner companies. >> </DESCRIPTION> > >As far as the XSLT processor is concerned the < is just a >less-than sign - it doesn't mean anything special at all. The text >within the DESCRIPTION element is just text. It doesn't know that you >mean it to be HTML. That last sentence should probably go into a FAQ :-) >The best thing that you can do is to have the DESCRIPTION element hold >HTML rather than a string. Why not just add a template for the "a" element? <xsl:template match="a"> <a href="{@href}"> <xsl:apply-templates/> </a> </xsl:template> (or a more complex one to handle name as well as or instead of href). ///Peter XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] xsl: help (urgent), Michael Kay | Thread | Re: [xsl] xsl: help (urgent), Jeni Tennison |
Re: [xsl] XSLT UK - the aftermath, Christopher R. Maden | Date | RE: [xsl] XSLT UK - the aftermath, Chris Bayes |
Month |