>You are also confused about the difference between XSLT instructions
and output
>elements and attributes.  The curly braces are needed in literal output

>attributes, because otherwise the processor will just output $foo
literally.  In 
>an XSLT instruction, such as <xsl:if>, the values are presumed to be
XPath 
>instructions, and $foo is interpreted. 

At risk of being pedantic, there are a few XSLT instructions where at
least some of the attribute values require curly braces if the attribute
value is an expression. Based on the syntax description (Appendix B) in
the spec, they are:

xsl:attribute
xsl:element
xsl:number
xsl:processing-instruction
xsl:sort


Eric Amick
Legislative Computer Systems
Office of the Clerk


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to