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

Re: Can one <xsl:choose> <xsl:output>?

Subject: Re: Can one <xsl:choose> <xsl:output>?
From: Gavin Corfield <gavin@xxxxxxxxxxxxxxxxxx>
Date: Tue, 08 May 2001 10:47:15 +0800
gavin corfield
Tim Watts wrote:
> 
> I'm not sure this can be done, but you could try by using Choose to set a
> variable, as I have shown below.
> 

No it can't you can't have <xsl:choose> at the top level, it can only be
within a template.

<xsl:output> can only be used as a child of the root element. 

You can't use the xml source file to specify the output as you can only
access the data within it once you have matched the root element which
has to happen below the top level.  

gavin

 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.