Subject: [xsl] unwanted space in scps From: TGolshan@xxxxxxxxxxxx Date: Thu, 19 Jan 2006 11:16:20 -0800 |
Hello, I am trying change text to smallcaps in the middle of text while relying on a CSS, but am having a spacing problem. Below is my code and results. Any suggestions? Thanks! -troy XML snippet: <p>H<scp>ere</scp> is my XML example</p> XSL code: <xsl:template match="p"> <p><xsl:apply-templates/></p> </xsl:template> <xsl:template match="scp"> <scp><xsl:apply-templates/></scp> </xsl:template> CSS code: scp { font-family:Verdana, Arial, Helvetica, sans-serif; font-size:75%; } HTML Output: H<space>ERE is my XML example.....here is the problem! The extra space between H and 'ERE'. I have tried to do a <font size="-2"> in the HTML, but that does not work across all browsers. Desired HTML Output: HERE is my XML example
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] xsl namespace select elem, Geert Josten | Thread | RE: [xsl] xsl namespace select elem, Haarman, Michael |
Re: [xsl] supress errors?, andrew welch | Date | RE: [xsl] SQL BTree to XML Tree?, Phillip B Oldham |
Month |