Changeset 20411

Show
Ignore:
Timestamp:
06/30/07 11:42:16 (1 year ago)
Author:
patrick
Message:

Simplification of attribute copying.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • juggler/trunk/modules/vrjuggler/data/xslt/2.2-2.3.xsl

    r20195 r20411  
    7878   <xsl:template match="jconf:configuration"> 
    7979      <xsl:copy> 
    80  
    81          <!-- XXX: Why doesn't xsl:copy copy these two attributes? --> 
    82          <xsl:attribute name="name"> 
    83             <xsl:value-of select="@name"/> 
    84          </xsl:attribute> 
    85          <xsl:attribute name="xsl:schemaLocation" 
    86                         namespace="http://www.w3.org/2001/XMLSchema-instance"> 
    87             <xsl:value-of select="@xsi:schemaLocation"/> 
    88          </xsl:attribute> 
    89  
     80         <xsl:copy-of select="./@*" /> 
    9081         <xsl:apply-templates /> 
    9182      </xsl:copy>