cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ltriel...@apache.org
Subject svn commit: r467993 - /cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/forms-field-styling.xsl
Date Thu, 26 Oct 2006 13:19:32 GMT
Author: ltrieloff
Date: Thu Oct 26 06:19:32 2006
New Revision: 467993

URL: http://svn.apache.org/viewvc?view=rev&rev=467993
Log:
remove unneccesary check for existance of id attribute

Modified:
    cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/forms-field-styling.xsl

Modified: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/forms-field-styling.xsl
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/forms-field-styling.xsl?view=diff&rev=467993&r1=467992&r2=467993
==============================================================================
--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/forms-field-styling.xsl
(original)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/forms-field-styling.xsl
Thu Oct 26 06:19:32 2006
@@ -749,10 +749,7 @@
 
   <xsl:template match="*" mode="copy-parent-id">
     <xsl:copy>
-      <!-- do not override id if already specified, else use parent id -->
-      <xsl:if test="not(@id)">
-        <xsl:attribute name="id"><xsl:value-of select="../@id"/></xsl:attribute>
-      </xsl:if>
+      <xsl:attribute name="id"><xsl:value-of select="../@id"/></xsl:attribute>
       <xsl:copy-of select="@*"/>
       <xsl:apply-templates/>
     </xsl:copy>



Mime
View raw message