cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "roy huang" <>
Subject [cforms] <body> tag attribute being eaten.
Date Tue, 30 Mar 2004 11:31:21 GMT
  I set <body> tag with attribute like <body style="margin:0" bgcolor="#6B82DF">,after
transformed by forms-samples-styling.xsl,the style and bgcolor attribute is eaten.
  I saw a archive mail about onload in body and check the xsl file forms-field-styling.xsl,
  I think it will be better if the body attribute can reserve.
  Other question: If I use <Body> or <BODY> instead <body> ,the xsl won't
work for <Body>, any suggestions?
  xsl file:
  <xsl:template match="body" mode="forms-field">
    <xsl:attribute name="onload">forms_onload(); <xsl:value-of select="@onload"/></xsl:attribute>

Roy Huang

View raw message