[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xalan-dev
Subject:    Re: disable-output-escaping
From:       Belinda Garcia <Belinda.Garcia () central ! sun ! com>
Date:       2000-10-30 22:01:19
[Download RAW message or body]

Paul,

Thanks so much for you help.

I tried this and after messing with my xsl a bit so I wouldn't put out double pieces of 
data, I got it to work.

Belinda

> Mailing-List: contact xalan-dev-help@xml.apache.org; run by ezmlm
> list-help: <mailto:xalan-dev-help@xml.apache.org>
> list-unsubscribe: <mailto:xalan-dev-unsubscribe@xml.apache.org>
> list-post: <mailto:xalan-dev@xml.apache.org>
> Delivered-To: mailing list xalan-dev@xml.apache.org
> From: Paul_Dick@lotus.com
> Subject: Re: disable-output-escaping
> To: xalan-dev@xml.apache.org
> Date: Mon, 30 Oct 2000 15:00:48 -0500
> X-MIMETrack: Serialize by Router on CAMMAIL04/CAM/M/Lotus(Release 5.0.5 |September 22, 
2000) at 10/30/2000 03:00:48 PM
> X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N
> 
> 
> Belinda,
> 
> <xsl:template match="Analysis">
>    <xsl:call-template name="checkformat">
>       <xsl:with-param name="Heading" select="'Analysis'"/>
>    </xsl:call-template>
>    <xsl:value-of select="Analysis" disable-output-escaping="yes"/>
>    <blockquote><i><xsl:apply-templates/></i></blockquote>
> </xsl:template>
> 
> Looking at your two templates where the offending code is I think the
> problem
> is not the disable-output-escaping="yes" attribute.  But the fact that
> you're
> referencing a node that is probably nonexistent.  Currently your code is
> expecting
> Analysis to have a child node of Analysis as well,  which is not the case
> I think you need to use "." in place of Analysis and Recommendation.
> So,
> <xsl:value-of select="." disable-output-escaping="yes"/>
> 
> instead of;
> <xsl:value-of select="Analysis" disable-output-escaping="yes"/>
> 
> Let me know how this works.
> 
> Paul
> 
> 
> 
> 

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic