Author: rgardler
Date: Tue Sep 11 16:43:13 2007
New Revision: 574732

URL: http://svn.apache.org/viewvc?rev=574732&view=rev
Log:
Don't lose attributes

Modified:
    
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.foaf/resources/stylesheets/foaf-to-foafExpandedSeeAlso.xsl
    
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.foaf/resources/stylesheets/foaf-to-foafNoDuplicateNodes.xsl

Modified: 
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.foaf/resources/stylesheets/foaf-to-foafExpandedSeeAlso.xsl
URL: 
http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.foaf/resources/stylesheets/foaf-to-foafExpandedSeeAlso.xsl?rev=574732&r1=574731&r2=574732&view=diff
==============================================================================
--- 
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.foaf/resources/stylesheets/foaf-to-foafExpandedSeeAlso.xsl
 (original)
+++ 
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.foaf/resources/stylesheets/foaf-to-foafExpandedSeeAlso.xsl
 Tue Sep 11 16:43:13 2007
@@ -34,7 +34,7 @@
     
     <xsl:template match="@*|*|text()|processing-instruction()|comment()">
       <xsl:copy>
-        <xsl:apply-templates/>
+        <xsl:apply-templates 
select="@*|*|text()|processing-instruction()|comment()"/>
       </xsl:copy>
     </xsl:template>
 </xsl:stylesheet>

Modified: 
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.foaf/resources/stylesheets/foaf-to-foafNoDuplicateNodes.xsl
URL: 
http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.foaf/resources/stylesheets/foaf-to-foafNoDuplicateNodes.xsl?rev=574732&r1=574731&r2=574732&view=diff
==============================================================================
--- 
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.foaf/resources/stylesheets/foaf-to-foafNoDuplicateNodes.xsl
 (original)
+++ 
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.foaf/resources/stylesheets/foaf-to-foafNoDuplicateNodes.xsl
 Tue Sep 11 16:43:13 2007
@@ -32,16 +32,16 @@
       <xsl:apply-templates 
select="document($seeAlsoFile)/rdf:RDF/foaf:Person/*"/>
     </xsl:template>
     
-    <xsl:template match="text()|processing-instruction()|comment()">
+    <xsl:template match="@*|text()|processing-instruction()|comment()">
       <xsl:copy>
-        <xsl:apply-templates/>
+        <xsl:apply-templates 
select="@*|*|text()|processing-instruction()|comment()"/>
       </xsl:copy>
     </xsl:template>
     
-    <xsl:template match="@*|node()">
+    <xsl:template match="node()">
        <xsl:if test="not(node()) or 
not(preceding-sibling::node()[.=string(current()) and name()=name(current())])">
         <xsl:copy>
-          <xsl:apply-templates/>
+          <xsl:apply-templates  
select="@*|*|text()|processing-instruction()|comment()"/>
         </xsl:copy>
       </xsl:if>
     </xsl:template>