[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Attempt to Select from the Top of Document No Work
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
|
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
|