|
Subject: [xsl] accessing attributes of a node From: "Markus Gamperl" <markus.gamperl@xxxxxx> Date: Tue, 18 Jan 2005 20:11:26 +0100 (MET) |
Hello experts!
I have got the following template:
<xsl:template match="h2 | h3 | h4 | h5 | h6">
<fo:block id="{translate(@link_id,'#','x')}" font-size="{$h2_size}">
...
</fo:block>
</xsl:template
Every node (h2, h3, h4,...) has a "size"-attribute (h2 as h2_size, h3 has
h3_size,...) which tells the font size the node should be formatted.
I have tried the following (not working):
...
<fo:block id="{translate(@link_id,'#','x')}" font-size="{@{name(.)}_size}">
...
How can i access the hx_size attribute of each node?
Thanks
Markus
--
Sparen beginnt mit GMX DSL: http://www.gmx.net/de/go/dsl
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: [xsl] optimization for very lar, Pieter Reint Siegers | Thread | Re: [xsl] accessing attributes of a, Joris Gillis |
| Re: [xsl] Comparing node for identi, Wendell Piez | Date | Re: [xsl] Splitting merged XHTML ce, Jan Tosovsky |
| Month |