xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] nested xsl:choose?


Subject: [xsl] nested xsl:choose?
From: "Arouza, Kevin" <karouza@xxxxxxxxxx>
Date: Tue, 11 Nov 2003 13:55:23 -0800

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



Current Thread
Keywords
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor