Hi,
There is another possible cause: a xsl:template with a higher priority.
What about match="batch[...]" or match="parent/batch[...]" constructions?
Pascal

J.Pietschmann a écrit :
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.

J.Pietschmann


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

Reply via email to