xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pascal Sancho <pascal.san...@takoma.fr>
Subject Re: Problem using attributes with <xsl:value-of select=""/>
Date Tue, 24 Nov 2009 12:28:09 GMT
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: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message