Groups > Design > Microsoft xsl > Re: <div style="font-style: italic;">




<div style="font-style: italic;">

<div style="font-style: italic;">
Wed, 9 Apr 2008 08:17:02 -0700
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" /> 
Post Reply
Re: <div style="font-style: italic;">
Wed, 09 Apr 2008 18:44:22 +020
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
Post Reply
Re: <div style="font-style: italic;">
Mon, 14 Apr 2008 20:09:52 +020
* 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
Post Reply
about | contact