...

View Full Version : font problem in IE



mathu
08-07-2008, 01:10 PM
Hi,

I've wriiten a stylesheet to view the XML file in IE-6.

When I view the file in browser, it doesn't show any difference.
But when I see the print preview, there is duplication of text appears.
ie. end of the word in the line repeated to the next line.

My test.xml


<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="test.xsl" type="text/xsl"?>
<book>
<p>More than 2 million people die each year in the United States, of which 80&#37; die in hospitals. Nurses who work in hospitals have expressed a feeling of inadequate preparation and lack of knowledge in supporting families and patients in end-of-life issues. ....</p>
</book>

My test.xsl:


<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:html="http://www.w3.org/1999/XSL/Format"
version='2.0'>
<xsl:output method='html'/>
<xsl:template match="p">
<p style="font-size:11pt;font-family:AGaramondPro-Bold">
<xsl:apply-templates/>
</p>
</xsl:template>
</xsl:stylesheet>

Anyone know the solution?

Thanks,
mathu.

oesxyl
08-08-2008, 01:09 AM
Hi,

I've wriiten a stylesheet to view the XML file in IE-6.
why do you look for a solution in xml/xslt when the problem is in ie?

regards

mathu
08-11-2008, 07:23 AM
I want to do a text comparison and font comparison using original pdf vs. web page pdf (web page pdf wiil be created using XML browser view.)

Thanks,
mathu



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum