RE: [xsl] xsl:choose

Subject: RE: [xsl] xsl:choose
From: Manpreet Singh <singhm@xxxxxxxxxxx>
Date: Thu, 4 Nov 2004 09:52:55 +0530
Hi Mark,

  Well if you still have a problem with the xsl you made, try replacing
"555" with "<xsl:value-of  select="'555'" />". See if this works.

Regards
Manpreet

-----Original Message-----
From: Mark Williams [mailto:mark@xxxxxxxxxxx]
Sent: Wednesday, November 03, 2004 9:56 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] xsl:choose


Hi David,

Thanks for the response.  I stuck a couple of xsl:comment statements in to
see what was happening and it worked fine!  I've taken the comments out and
it still works fine.  Just one of this things I guess.

Thanks for your help.

Mark

----- Original Message ----- 
From: "David Carlisle" <davidc@xxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Wednesday, November 03, 2004 4:04 PM
Subject: Re: [xsl] xsl:choose


>
> > If it is printing "Quotation for re-mortgage" then it must be getting to
the
> > choose statement
> or that text occurs elsewhere in your stylesheet. (Which is stating teh
> obvious but sometimes ...)
>
>
> > Can you see anything wrong with the choose statement?
>
> something wrong with your xsl:choose can not cause the symptoms that you
> describe. That would require something wrong with your xslt system.
> That xsl:choose has an xsl:othewise so one of the branches has to be
> exectuted or the xsl;choose isn't executed at all, or there is a
> syntactic error (here or elsewhere) so no output at all should be
> generated. If you get no error, and that template is definitely executed
> but neither branch is taken then something is broken.
>
> David
>
>
>
> ________________________________________________________________________
> This e-mail has been scanned for all viruses by Star. The
> service is powered by MessageLabs. For more information on a proactive
> anti-virus service working around the clock, around the globe, visit:
> http://www.star.net.uk
> ________________________________________________________________________

Current Thread