|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] accessing attributes of a node
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








