Subject: Re: [xsl] Can one <xsl:choose> <xsl:output>? From: Gavin Corfield <gavin@xxxxxxxxxxxxxxxxxx> Date: Tue, 08 May 2001 10:47:15 +0800 |
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Can one <xsl:choose> <xsl, Jeni Tennison | Thread | RE: [xsl] Can one <xsl:choose> <xsl, Michael Kay |
RE: [xsl] [ANN] Inline SVG, Max Dunn | Date | RE: [xsl] Can one <xsl:choose> <xs, Dan Diebolt |
Month |