[interchange-docs] xmldocs - docelic modified 4 files

docs at icdevgroup.org docs at icdevgroup.org
Tue Aug 21 07:58:19 EDT 2007


User:      docelic
Date:      2007-08-21 11:58:18 GMT
Modified:  docbook  html-chunks.xsl
Modified:  glossary SSL
Modified:  refs     AcceptRedirect AutoModifier
Log:
* Replace buggy xslt with a correct variant
* Few tiny fixes

Revision  Changes    Path
1.28      +80 -71    xmldocs/docbook/html-chunks.xsl


rev 1.28, prev_rev 1.27
Index: html-chunks.xsl
===================================================================
RCS file: /var/cvs/xmldocs/docbook/html-chunks.xsl,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- html-chunks.xsl	21 Aug 2007 00:00:53 -0000	1.27
+++ html-chunks.xsl	21 Aug 2007 11:58:18 -0000	1.28
@@ -102,77 +102,86 @@
 
 
 
-  <!-- works only for this stylesheet, should be modified for others -->
-  <xsl:template match="varname">
-				<xsl:variable name="input" select="."/>
-        <xsl:text disable-output-escaping="yes">&lt;code class="varname"&gt;</xsl:text>
-        <xsl:text disable-output-escaping="yes">&lt;a href="../vars/</xsl:text>
-        <xsl:value-of select="$input" />
-        <xsl:text disable-output-escaping="yes">.html"&gt;</xsl:text>
-        <xsl:value-of select="$input" />
-        <xsl:text disable-output-escaping="yes">&lt;/a&gt;</xsl:text>
-        <xsl:text disable-output-escaping="yes">&lt;/code&gt;</xsl:text>
-  </xsl:template>
-  <xsl:template match="option">
-				<xsl:variable name="input" select="."/>
-        <xsl:text disable-output-escaping="yes">&lt;code class="option"&gt;</xsl:text>
-        <xsl:text disable-output-escaping="yes">&lt;a href="../confs/</xsl:text>
-        <xsl:value-of select="$input" />
-        <xsl:text disable-output-escaping="yes">.html"&gt;</xsl:text>
-        <xsl:value-of select="$input" />
-        <xsl:text disable-output-escaping="yes">&lt;/a&gt;</xsl:text>
-        <xsl:text disable-output-escaping="yes">&lt;/code&gt;</xsl:text>
-  </xsl:template>
-  <xsl:template match="tag">
-				<xsl:variable name="input" select="."/>
-        <xsl:text disable-output-escaping="yes">&lt;code class="tag"&gt;</xsl:text>
-        <xsl:text disable-output-escaping="yes">[&lt;a href="../tags/</xsl:text>
-        <xsl:value-of select="$input" />
-        <xsl:text disable-output-escaping="yes">.html"&gt;</xsl:text>
-        <xsl:value-of select="$input" />
-        <xsl:text disable-output-escaping="yes">&lt;/a&gt;</xsl:text>
-        <xsl:text disable-output-escaping="yes">&lt;/code&gt;] </xsl:text>
-  </xsl:template>
-  <xsl:template match="pragma">
-				<xsl:variable name="input" select="."/>
-        <xsl:text disable-output-escaping="yes">&lt;code class="pragma"&gt;</xsl:text>
-        <xsl:text disable-output-escaping="yes">&lt;a href="../pragmas/</xsl:text>
-        <xsl:value-of select="$input" />
-        <xsl:text disable-output-escaping="yes">.html"&gt;</xsl:text>
-        <xsl:value-of select="$input" />
-        <xsl:text disable-output-escaping="yes">&lt;/a&gt;</xsl:text>
-        <xsl:text disable-output-escaping="yes">&lt;/code&gt;</xsl:text>
-  </xsl:template>
-  <xsl:template match="check">
-				<xsl:variable name="input" select="."/>
-        <xsl:text disable-output-escaping="yes">&lt;code class="check"&gt;</xsl:text>
-        <xsl:text disable-output-escaping="yes">&lt;a href="../orderchecks/</xsl:text>
-        <xsl:value-of select="$input" />
-        <xsl:text disable-output-escaping="yes">.html"&gt;</xsl:text>
-        <xsl:value-of select="$input" />
-        <xsl:text disable-output-escaping="yes">&lt;/a&gt;</xsl:text>
-        <xsl:text disable-output-escaping="yes">&lt;/code&gt;</xsl:text>
-  </xsl:template>
-  <xsl:template match="widget">
-				<xsl:variable name="input" select="."/>
-        <xsl:text disable-output-escaping="yes">&lt;code class="widget"&gt;</xsl:text>
-        <xsl:text disable-output-escaping="yes">&lt;a href="../widgets/</xsl:text>
-        <xsl:value-of select="$input" />
-        <xsl:text disable-output-escaping="yes">.html"&gt;</xsl:text>
-        <xsl:value-of select="$input" />
-        <xsl:text disable-output-escaping="yes">&lt;/a&gt;</xsl:text>
-        <xsl:text disable-output-escaping="yes">&lt;/code&gt;</xsl:text>
-  </xsl:template>
-  <xsl:template match="filter">
-				<xsl:variable name="input" select="."/>
-        <xsl:text disable-output-escaping="yes">&lt;code class="filter"&gt;</xsl:text>
-        <xsl:text disable-output-escaping="yes">&lt;a href="../filters/</xsl:text>
-        <xsl:value-of select="$input" />
-        <xsl:text disable-output-escaping="yes">.html"&gt;</xsl:text>
-        <xsl:value-of select="$input" />
-        <xsl:text disable-output-escaping="yes">&lt;/a&gt;</xsl:text>
-        <xsl:text disable-output-escaping="yes">&lt;/code&gt;</xsl:text>
-  </xsl:template>
+
+  <!-- works only for this stylesheet, should be modified for others.
+	(Thanks dpawson, www.dpawson.co.uk) -->
+	<xsl:template match="tag">
+		<code class='tag'>
+		<xsl:element name="a">
+		<xsl:attribute name="href">
+		<xsl:value-of select="'../tags/'"/>
+		<xsl:value-of select="."/>
+		</xsl:attribute>
+		<xsl:value-of select="."/>
+		</xsl:element>
+		</code>
+	</xsl:template>
+	<xsl:template match="option">
+		<code class='option'>
+		<xsl:element name="a">
+		<xsl:attribute name="href">
+		<xsl:value-of select="'../confs/'"/>
+		<xsl:value-of select="."/>
+		</xsl:attribute>
+		<xsl:value-of select="."/>
+		</xsl:element>
+		</code>
+	</xsl:template>
+	<xsl:template match="varname">
+		<code class='varname'>
+		<xsl:element name="a">
+		<xsl:attribute name="href">
+		<xsl:value-of select="'../vars/'"/>
+		<xsl:value-of select="."/>
+		</xsl:attribute>
+		<xsl:value-of select="."/>
+		</xsl:element>
+		</code>
+	</xsl:template>
+	<xsl:template match="check">
+		<code class='check'>
+		<xsl:element name="a">
+		<xsl:attribute name="href">
+		<xsl:value-of select="'../orderchecks/'"/>
+		<xsl:value-of select="."/>
+		</xsl:attribute>
+		<xsl:value-of select="."/>
+		</xsl:element>
+		</code>
+	</xsl:template>
+	<xsl:template match="widget">
+		<code class='widget'>
+		<xsl:element name="a">
+		<xsl:attribute name="href">
+		<xsl:value-of select="'../widgets/'"/>
+		<xsl:value-of select="."/>
+		</xsl:attribute>
+		<xsl:value-of select="."/>
+		</xsl:element>
+		</code>
+	</xsl:template>
+	<xsl:template match="pragma">
+		<code class='pragma'>
+		<xsl:element name="a">
+		<xsl:attribute name="href">
+		<xsl:value-of select="'../pragmas/'"/>
+		<xsl:value-of select="."/>
+		</xsl:attribute>
+		<xsl:value-of select="."/>
+		</xsl:element>
+		</code>
+	</xsl:template>
+	<xsl:template match="filter">
+		<code class='filter'>
+		<xsl:element name="a">
+		<xsl:attribute name="href">
+		<xsl:value-of select="'../filters/'"/>
+		<xsl:value-of select="."/>
+		</xsl:attribute>
+		<xsl:value-of select="."/>
+		</xsl:element>
+		</code>
+	</xsl:template>
 
 
 



1.2       +2 -2      xmldocs/glossary/SSL


rev 1.2, prev_rev 1.1
Index: SSL
===================================================================
RCS file: /var/cvs/xmldocs/glossary/SSL,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- SSL	3 Aug 2006 21:58:40 -0000	1.1
+++ SSL	21 Aug 2007 11:58:18 -0000	1.2
@@ -3,11 +3,11 @@
 </para><para>
 &IC; has several features that enable secure ordering via SSL.
 Despite their mystique, SSL web servers are actually
-quite easy to operate. The difference between the standard &HTTP; server
+quite easy to operate. The difference between the standard HTTP server
 and the SSL HTTPS server, from the standpoint of the user, is only in
 the encryption that happens kind-of transparently, and the specification
 of the URL -- <literal>https:</literal> is used for the
-&URL; protocol specification instead of the usual <literal>http:</literal>
+URL protocol specification instead of the usual <literal>http:</literal>
 designation.
 </para>
 



1.4       +1 -1      xmldocs/refs/AcceptRedirect


rev 1.4, prev_rev 1.3
Index: AcceptRedirect
===================================================================
RCS file: /var/cvs/xmldocs/refs/AcceptRedirect,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- AcceptRedirect	12 Oct 2006 13:51:35 -0000	1.3
+++ AcceptRedirect	21 Aug 2007 11:58:18 -0000	1.4
@@ -22,7 +22,7 @@
 
 then a request for <literal>/somedir/index.html</literal> that is not found
 on the Web server would be resent to
-<literal>/cgi-bin/ic/foundation/somedir/index.html</literal>, and
+<literal>/cgi-bin/ic/standard/somedir/index.html</literal>, and
 would be indistinguishable from the static Web server-served page.
 __END__
 



1.10      +1 -1      xmldocs/refs/AutoModifier


rev 1.10, prev_rev 1.9
Index: AutoModifier
===================================================================
RCS file: /var/cvs/xmldocs/refs/AutoModifier,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- AutoModifier	27 Jun 2007 00:02:31 -0000	1.9
+++ AutoModifier	21 Aug 2007 11:58:18 -0000	1.10
@@ -45,7 +45,7 @@
 able to perform decisions
 based on <code>$item-&gt;{heavy}</code> and
 <code>$item-&gt;{downloadable}</code> (but there are more access methods,
-see the &gloss-attribute; &GE;.
+see the &glos-attribute; &GE;.
 __END__
 
 








More information about the docs mailing list