www cleanup mega commit:

- Move includes.nav*.sgml to share/sgml/navibar.ent and
   <lang>/share/sgml/navibar.l10n.ent.

 - Move includes.sgml and includes.xsl to
   share/sgml/common.ent, share/sgml/header.ent, <lang>/share/sgml/l10n.ent,
   and <lang>/share/sgml/header.l10n.ent.

 - Move most of XSLT libraries to share/sgml/*.xsl and
   <lang>/share/sgml/*.xsl.

 - Move news.xml and other *.xml files for the similar purpose
   to share/sgml/*.xml and <lang>/share/sgml/*.xml.

 - Switch to use a custom DTD for HTML document.  Now we use
   "-//FreeBSD//DTD HTML 4.01 Transitional-Based Extension", which is
   HTML 4.01 + some entities previously pulled via
   "<!ENTITY % includes SYSTEM "includes.sgml"> %includes;" line.
   The location of entity file will be resolved by using catalog file.

 - Add DOCTYPE declearation to XML documents.  This makes the followings
   possible:

   * Use of &foo; entities for SGML in an XML file instead of defining
     {$foo} as the same content.

   * &symbolic; entities for Latin characters.

 - Duplicated information between SGML and XML, or English and
   translated doc, has been removed as much as possible.
This commit is contained in:
Hiroki Sato 2006-08-19 21:26:51 +00:00
parent de3f531874
commit 5305bb945d
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/www/; revision=28475
795 changed files with 4878 additions and 36943 deletions

View file

@ -1,28 +1,20 @@
<?xml version="1.0" encoding="koi8-r"?>
<!DOCTYPE xsl:stylesheet PUBLIC "-//FreeBSD//DTD FreeBSD XSLT 1.0 DTD Fragment//EN"
"http://www.FreeBSD.org/XML/www/share/sgml/xslt10-freebsd.dtd" [
<!ENTITY base "../..">
<!ENTITY title "çÒÕÐÐÙ ÐÏÌØÚÏ×ÁÔÅÌÅÊ">
<!ENTITY email "freebsd-www">
<!ENTITY % navinclude.community "INCLUDE">
]>
<!-- The FreeBSD Russian Documentation Project -->
<!-- $FreeBSDru: frdp/www/ru/share/sgml/templates.usergroups.xsl,v 1.2 2005/11/03 18:27:42 gad Exp $ -->
<!-- $FreeBSD$ -->
<!-- $FreeBSD: www/ru/share/sgml/templates.usergroups.xsl,v 1.1 2005/11/08 18:22:23 bvs Exp $ -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
xmlns:cvs="http://www.FreeBSD.org/XML/CVS"
exclude-result-prefixes="cvs">
<xsl:import href="../../includes.xsl" />
<xsl:output type="xml" encoding="koi8-r" indent="yes"/>
<xsl:variable name="section" select="'community'"/>
<xsl:output method="xml"
doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"/>
<xsl:variable name="base" select="'.'"/>
<xsl:variable name="date">
<xsl:value-of select="//cvs:keyword[@name='freebsd']"/>
</xsl:variable>
<xsl:variable name="email" select="'freebsd-www'"/>
<xsl:variable name="title" select="'çÒÕÐÐÙ ÐÏÌØÚÏ×ÁÔÅÌÅÊ'"/>
<xsl:import href="http://www.FreeBSD.org/XML/www/share/sgml/templates.usergroups.xsl"/>
<xsl:template name="html-usergroups-list-header">
<p>ðÏÐÕÌÑÒÎÏÓÔØ FreeBSD ÐÏÒÏÄÉÌÁ ÎÅËÏÔÏÒÏÅ ËÏÌÉÞÅÓÔ×Ï ÇÒÕÐÐ
@ -34,43 +26,4 @@
<h3>òÅÇÉÏÎÙ</h3>
</xsl:template>
<xsl:template match="/">
<html>
<xsl:copy-of select="$header1"/>
<body xsl:use-attribute-sets="att.body">
<div id="containerwrap">
<div id="container">
<xsl:copy-of select="$header2"/>
<div id="content">
<xsl:copy-of select="$sidenav"/>
<div id="contentwrap">
<xsl:copy-of select="$header3"/>
<xsl:call-template name="html-usergroups-list-header" />
<xsl:call-template name="html-usergroups-list-regions">
<xsl:with-param name="usergroups.xml" select="$usergroups.xml" />
<xsl:with-param name="usergroups-local.xml" select="$usergroups-local.xml" />
</xsl:call-template>
<xsl:call-template name="html-usergroups-list-entries">
<xsl:with-param name="usergroups.xml" select="$usergroups.xml" />
<xsl:with-param name="usergroups-local.xml" select="$usergroups-local.xml" />
</xsl:call-template>
</div> <!-- contentwrap -->
<br class="clearboth" />
</div> <!-- content -->
<xsl:copy-of select="$footer"/>
</div> <!-- container -->
</div> <!-- containerwrap -->
</body>
</html>
</xsl:template>
</xsl:stylesheet>