[jdom-interest] Percentage Issue

Jennifer.Bailey at bbh.com Jennifer.Bailey at bbh.com
Tue Sep 25 12:04:05 PDT 2001


I am trying to transform an xsl file, contents below. However everytime the I use  width percetages
I get errors displayed in percent.txt.
For Example:
<TABLE width="70%" border="0" height="15">  gives me the errors displayed in percent.txt file that is
attached. Without the percentage symbol the transformation occurs.  I did not find any information
in the archives, or other mailing lists on this topic.
Any help is appreciated.

I am using jdom7, jdk1.2.2.
The transformer=TransformUsingXalan.Transform

(See attached file: percent.txt)

Contents of my XSL file:
<?xml version='1.0' encoding='utf-8' ?>
<!DOCTYPE xsl:stylesheet [
     <!ENTITY nbsp "&#160;">
]>
  <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  <xsl:output method='html' indent='yes' doctype-public='-//W3C//DTD HTML 3.2 Final//EN'/>
  <xsl:template match="/">
   <HTML>
    <HEAD>
     <TITLE>Positions Selection Criteria Page</TITLE>

     </HEAD>
     <BODY>
     <TABLE width="70" border="0" height="15">
       <TR>Test       </TR>
     </TABLE>

    </BODY></HTML>
  </xsl:template>


</xsl:stylesheet>


Jennifer Bailey
*************************** IMPORTANT NOTE *****************************
The opinions expressed in this message and/or any attachments are
those of the author and not necessarily those of Brown Brothers
Harriman & Co., its subsidiaries and affiliates ("BBH").  There is no
guarantee that this message is either private or confidential, and it
may have been altered by unauthorized sources without your or our
knowledge.  Nothing in the message is capable or intended to create
any legally binding obligations on either party and it is not intended
to provide legal advice.  BBH accepts no responsibility for loss or
damage from its use, including damage from virus.
************************************************************************
-------------- next part --------------
A non-text attachment was scrubbed...
Name: percent.txt
Type: application/octet-stream
Size: 35154 bytes
Desc: not available
Url : http://jdom.org/pipermail/jdom-interest/attachments/20010925/9f204494/percent.obj


More information about the jdom-interest mailing list