xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] RE: Small Caps Solution (a bit long)


Subject: Re: [xsl] RE: Small Caps Solution (a bit long)
From: "Jay Bryant" <jay@xxxxxxxxxxxx>
Date: Thu, 2 Sep 2004 18:54:42 -0500

hi,
if i understand the problem right, there is a much simpler and shorter
solution without even bothering XSL just with plain CSS which you are using
anyway:

<h1 style="font-variant: small-caps;">A String to Render in Small Caps</h1>

(better to put it in a CSS-class of course...)
This might not be working in every browser, but at least covers a reasonble
amount of them (Moz, IE, Opera, Safari etc).

is that what you were looking for?

cheers
chris
-----------------------------------
Hi, chris,

The trouble is that the font has to have an actual small-caps variant built
into it for that technique to work. As it happens, very few fonts do have a
small-caps variant, which leaves the decision of how to render the string to
the browser. I have read that, with most fonts, most browsers either ignore
the setting or render the string as all caps. I wanted neither of those
results.

So, no, that's not what I sought, but thank you for suggesting it.

Jay Bryant
Bryant Communication Services


Current Thread
Keywords
xsl
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor