This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]