Author: cutting
Date: Fri Feb 10 11:31:06 2006
New Revision: 376808

URL: http://svn.apache.org/viewcvs?rev=376808&view=rev
Log:
Add a template for hadoop-site.xml, and the stylesheet for config files.

Added:
    lucene/nutch/trunk/conf/configuration.xsl
    lucene/nutch/trunk/conf/hadoop-site.xml.template

Added: lucene/nutch/trunk/conf/configuration.xsl
URL: 
http://svn.apache.org/viewcvs/lucene/nutch/trunk/conf/configuration.xsl?rev=376808&view=auto
==============================================================================
--- lucene/nutch/trunk/conf/configuration.xsl (added)
+++ lucene/nutch/trunk/conf/configuration.xsl Fri Feb 10 11:31:06 2006
@@ -0,0 +1,24 @@
+<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; version="1.0">
+<xsl:output method="html"/>
+<xsl:template match="configuration">
+<html>
+<body>
+<table border="1">
+<tr>
+ <td>name</td>
+ <td>value</td>
+ <td>description</td>
+</tr>
+<xsl:for-each select="property">
+<tr>
+  <td><a name="{name}"><xsl:value-of select="name"/></a></td>
+  <td><xsl:value-of select="value"/></td>
+  <td><xsl:value-of select="description"/></td>
+</tr>
+</xsl:for-each>
+</table>
+</body>
+</html>
+</xsl:template>
+</xsl:stylesheet>

Added: lucene/nutch/trunk/conf/hadoop-site.xml.template
URL: 
http://svn.apache.org/viewcvs/lucene/nutch/trunk/conf/hadoop-site.xml.template?rev=376808&view=auto
==============================================================================
--- lucene/nutch/trunk/conf/hadoop-site.xml.template (added)
+++ lucene/nutch/trunk/conf/hadoop-site.xml.template Fri Feb 10 11:31:06 2006
@@ -0,0 +1,8 @@
+<?xml version="1.0"?>
+<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
+
+<!-- Put site-specific property overrides in this file. -->
+
+<configuration>
+
+</configuration>


Reply via email to