Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Aug 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    font problem in IE

    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
    Code:
    <?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:
    Code:
    <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.
    Last edited by Alex Vincent; 08-07-2008 at 06:43 PM. Reason: Adding code tags

  • #2
    Master Coder
    Join Date
    Dec 2007
    Posts
    6,682
    Thanks
    436
    Thanked 890 Times in 879 Posts
    Quote Originally Posted by mathu View Post
    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

  • #3
    New to the CF scene
    Join Date
    Aug 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •