xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amick, Eric" <Eric.Am...@mail.house.gov>
Subject RE: Dynamically replace argument for 'if' test
Date Mon, 16 Mar 2009 12:26:43 GMT
>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: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message