Hi, I want to make part of the report title in italic, but I get errors now. Please help. Thanks. <h4> Report - <style="font-style: italic;">Bookstore: </style><xsl:value-of select="Bookstore/@Book" /> </h4>
John wrote: > I want to make part of the report title in italic, but I get errors now. > > Please help. Thanks. > > <h4> > Report - <style="font-style: italic;">Bookstore: </style><xsl:value-of > select="Bookstore/@Book" /> > </h4> Use <em>Bookstore: </em> or <span style="font-style: italic;">Bookstore: </span> If you still have problems then tell us exactly which error you get. -- Martin Honnen --- MVP XML http://JavaScript.FAQTs.com/
* John wrote in microsoft.public.xsl: >I want to make part of the report title in italic, but I get errors now. > >Please help. Thanks. > ><h4> > Report - <style="font-style: italic;">Bookstore: </style><xsl:value-of >select="Bookstore/@Book" /> ></h4> If you are generating HTML/XHTML output, perhaps you are looking for Report - <span style="font-style: italic;">Bookstore: </span> Your code uses incorrect syntax, you have no element with the attribute. -- Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/