Menu

Problems with copyright symbol

Help
Miguel
2004-11-15
2013-06-03
  • Miguel

    Miguel - 2004-11-15

    I have a XSL dbforms template that should generate copyright symbol, but it is imposible: instead of generating , it generates ©.

    I use © in the XSL to represent the copyright symbol in this way:
    <b>&#xA9; Copyright</b>

    And you see in explorer:
    © Copyright

    Do you know problems related to this issue?

     
    • Henner Kollmann

      Henner Kollmann - 2004-11-15

      Could you have a  look into the generated jsp file?
      What's standing there?

      Maybe you could correct it there.
      Or correct the xsl transformation?

      Thanks
      Henner

       
    • Miguel

      Miguel - 2004-11-17

      In the generated jsp file appears:
      ©

      so I suppose, the problem is inside dbforms.

      The problem with correcting it in the jsp file, is that there is not only one file, but almost 40 files that are generated from this xsl.

      Thanks.

       
      • Henner Kollmann

        Henner Kollmann - 2004-11-17

        Problem is not inside dbforms kernel. Seems to be a problem of XSLT transformation.

        I am not an expert of this - i do not use the automatic transformation.

        Could you help us and try out where the problem is?

        And send me your results?

        Thanks
        Henner

         
    • Miguel

      Miguel - 2004-11-17

      Hello

      if I find out something I will tell you.

      Thanks.

       
    • Miguel

      Miguel - 2004-11-30

      I have found out how to solve the problem. You only have to add 'method' attribute to xsl:output in xsl files. The value of the method should be 'html'.

      So:

      If you have:
      <?xml version='1.0'?>
      <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:db="http://www.wap-force.net/dbforms">
      <xsl:output indent="yes"/>

      You should have:

      <?xml version='1.0'?>
      <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:db="http://www.wap-force.net/dbforms">
      <xsl:output method="html" indent="yes"/>

      I do not know if this thing can be considered a bug, but maybe.

       
    • Henner Kollmann

      Henner Kollmann - 2004-12-04

      Changed in the CVS!

      Henner

       

Log in to post a comment.

MongoDB Logo MongoDB