Re: creating sequences: defaults, surprises, syntax and semantics

In a message dated 08/05/2003 11:00:04 GMT Daylight Time, 
tobiasreif@pinkjuice.com writes:


> This worked
> 
>    ...
>    <xsl:call-template name="elements">
>      <xsl:with-param name="choices" select="('div', 'p', 'span')"/>
>    ..
> 
> Those didn't
> 
>    <xsl:with-param name="choices"/>
>      <xsl:sequence select="('div', 'p', 'span')"/>
>    </xsl:with-param>
> 
>    <xsl:with-param name="choices"/>
>      <xsl:copy-of select="('div', 'p', 'span')"/>
>    </xsl:with-param>

Tobi,

It may be irrelevant to your examples not working but in the first line you 
have an empty element, followed by that element's assumed content and its 
assumed end tag. So, not being well-formed those examples couldn't work.

Andrew Watt

Received on Thursday, 8 May 2003 08:29:41 UTC