[Home] [By Thread] [By Date] [Recent Entries]
Kyle Partridge wrote:
It would probably be cleaner and easier to use a key table to access each of the styles, e.g.: <xsl:key name="styles" use="name" match="textStyle"/> You can then dereference the style with a simple key() function: <xsl:for-each select="key('styles', string(@style)">
...
</xsl:for-each>Of course, you should really do check to make sure the style reference is good before blindly processing it. Cheers, Eliot -- W. Eliot Kimber Innodata Isogen eliot@xxxxxxxxxx www.isogen.com XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|

Cart



