xsl-list
[Top] [All Lists]

Re: [xsl] How to show explicitly the implicit sequence constructor?

2014-03-29 04:58:28

On 29 Mar 2014, at 09:28, "Costello, Roger L." 
<costello(_at_)mitre(_dot_)org> wrote

For example, this would be a neat way to explicitly show the sequence 
constructor:

   <xsl:template match="Book">
       <xsl:sequence>
           <xsl:value-of select="Title" />
           <xsl:value-of select="Author" />
       </xsl:sequence>
   </xsl:template>

Unfortunately that is not legal.

Is there a way to explicitly show the sequence constructor?

My reading of the 3.0 Working Draft suggests that that construct should be 
legal - <xsl:sequence> can contain a sequence constructor if no @select. Of 
course you could indicate the sequence constructor inside the <xsl:sequence> 
with another <xsl:sequence> ...... ;-)

John
--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--


<Prev in Thread] Current Thread [Next in Thread>