[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: nested xsl:choose?

Subject: Re: nested xsl:choose?
From: Abhijit Junnare <mavlaabhi@xxxxxxxxx>
Date: Tue, 11 Nov 2003 14:42:38 -0800 (PST)
xslt nested choose
I use XALAN as well and without any problems for
nested xsl:choose. May be there is a typo in the
stylesheet in some </xsl:otherwise>  element. I have
been in such situations where I made a typo.
Abhi
> At 01:55 PM 11/11/2003 -0800, you wrote:
> >Hi,
> >
> >Does XALAN support nested xsl:choose statements
> like this...
> >
> ><xsl:choose>
> >     <xsl:when test.....>
> >          --- other statements ---
> >     </xsl:when>
> >     <xsl:otherwise>
> >            <xsl:choose>
> >                    <xsl:when test....>
> >                         --- other statements ---
> >                    </xsl:when>
> >                    <xsl:otherwise>
> >                         --- other statements ---
> >                     </xsl:otherwise>
> >            </xsl:choose>
> >     </xsl:otherwise>
> ></xsl:choose>
> >
> >I am getting the following error:
> >[Fatal Error] test.xslt:91:11: The element type
> "xsl:otherwise" must be
> >terminated by the matching end-tag
> "</xsl:otherwise>".  I have verified that
> >all tags have matching end tags and they are all
> nested at the correct
> >level.  Is this a bug in the XSLT processor or is
> this type of nesting
> >unsupported?
> >
> >Thanks much.
> >Kevin
> >
> >  XSL-List info and archive: 
> http://www.mulberrytech.com/xsl/xsl-list
> 
> Rick Taylor
> XML Developer
> PPDM Association
> 
> 
>  XSL-List info and archive: 
> http://www.mulberrytech.com/xsl/xsl-list
> 


__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.