Subject: Re: [xsl] How to show explicitly the implicit sequence constructor? From: David Carlisle <davidc@xxxxxxxxx> Date: Sat, 29 Mar 2014 10:38:22 +0000 |
Hi Folks,
In the following template rule is an implicit sequence constructor. The sequence constructor expresses this: "Show the value of Title, then show the value of Author."
<xsl:template match="Book"> <xsl:value-of select="Title" /> <xsl:value-of select="Author" /> </xsl:template>
Is there a way to explicitly show the sequence constructor?
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?
/Roger
-- google plus: https:/profiles.google.com/d.p.carlisle
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] How to show explicitly th, Michael Kay | Thread | [xsl] What is the Core of XSLT?, Abel Braaksma (Exsel |
Re: [xsl] Things that make you go H, Michael Kay | Date | Re: [xsl] Things that make you go H, Andrew Welch |
Month |