xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "J.Pietschmann" <j3322...@yahoo.de>
Subject Re: Problem using attributes with <xsl:value-of select=""/>
Date Sat, 21 Nov 2009 21:14:34 GMT
On 20.11.2009 23:54, Glen Mazza wrote:
> Hello, I'm having difficulty getting<xsl:value-of select=""/>  to work with
> attributes
> <batch myattval="2222">
>    <xsl:template match="batch">
>        <fo:block><xsl:value-of select="@myattval"/></fo:block>
>        <fo:block><xsl:value-of select="./@myattval"/></fo:block>

Both approaches work for me (the first is the canonical one).

I suspect your original problem is somewhat different, common
problems are misspellings, wrong context and namespace confusions.
You might get more help if you cut&paste the actual xml and
xslt code into the mail.


To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org

View raw message