Subject: How to show explicitly the implicit sequence constructor?
From: "Costello, Roger L." <costello@xxxxxxxxx>
Date: Sat, 29 Mar 2014 09:28:02 +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
|