svn commit: r39113 - in projects/sgml2xml/zh_CN.GB2312: articles/contributing articles/cvs-freebsd articles/linux-users articles/nanobsd articles/rc-scripting articles/remote-install books/arch-han...

Gabor Kovesdan gabor at FreeBSD.org
Sun Jun 24 08:49:03 UTC 2012


Author: gabor
Date: Sun Jun 24 08:49:01 2012
New Revision: 39113
URL: http://svn.freebsd.org/changeset/doc/39113

Log:
  - XMLify the Simplified Chinese tree
  - Entity cleanup
  
  Approved by:	doceng (implicit)

Added:
  projects/sgml2xml/zh_CN.GB2312/share/sgml/entities.ent
     - copied, changed from r39076, projects/sgml2xml/zh_CN.GB2312/share/sgml/books.ent
  projects/sgml2xml/zh_CN.GB2312/share/sgml/glossary.ent
     - copied, changed from r39076, projects/sgml2xml/zh_CN.GB2312/share/sgml/glossary/freebsd-glossary.sgml
Deleted:
  projects/sgml2xml/zh_CN.GB2312/share/sgml/articles.ent
  projects/sgml2xml/zh_CN.GB2312/share/sgml/bookinfo.ent
  projects/sgml2xml/zh_CN.GB2312/share/sgml/books.ent
  projects/sgml2xml/zh_CN.GB2312/share/sgml/glossary/
  projects/sgml2xml/zh_CN.GB2312/share/sgml/legalnotice.sgml
  projects/sgml2xml/zh_CN.GB2312/share/sgml/trademarks.sgml
Modified:
  projects/sgml2xml/zh_CN.GB2312/articles/contributing/article.sgml
  projects/sgml2xml/zh_CN.GB2312/articles/cvs-freebsd/article.sgml
  projects/sgml2xml/zh_CN.GB2312/articles/linux-users/article.sgml
  projects/sgml2xml/zh_CN.GB2312/articles/nanobsd/article.sgml
  projects/sgml2xml/zh_CN.GB2312/articles/rc-scripting/article.sgml
  projects/sgml2xml/zh_CN.GB2312/articles/remote-install/article.sgml
  projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/book.sgml
  projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/boot/chapter.sgml
  projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/chapters.ent
  projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/driverbasics/chapter.sgml
  projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/isa/chapter.sgml
  projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/jail/chapter.sgml
  projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/kobj/chapter.sgml
  projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/locking/chapter.sgml
  projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/mac.ent
  projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/mac/chapter.sgml
  projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/newbus/chapter.sgml
  projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/pccard/chapter.sgml
  projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/pci/chapter.sgml
  projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/scsi/chapter.sgml
  projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/smp/chapter.sgml
  projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/sound/chapter.sgml
  projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/sysinit/chapter.sgml
  projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/usb/chapter.sgml
  projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/vm/chapter.sgml
  projects/sgml2xml/zh_CN.GB2312/books/handbook/Makefile
  projects/sgml2xml/zh_CN.GB2312/books/handbook/advanced-networking/chapter.sgml
  projects/sgml2xml/zh_CN.GB2312/books/handbook/audit/chapter.sgml
  projects/sgml2xml/zh_CN.GB2312/books/handbook/basics/chapter.sgml
  projects/sgml2xml/zh_CN.GB2312/books/handbook/bibliography/chapter.sgml
  projects/sgml2xml/zh_CN.GB2312/books/handbook/book.sgml
  projects/sgml2xml/zh_CN.GB2312/books/handbook/boot/chapter.sgml
  projects/sgml2xml/zh_CN.GB2312/books/handbook/chapters.ent
  projects/sgml2xml/zh_CN.GB2312/books/handbook/colophon.sgml
  projects/sgml2xml/zh_CN.GB2312/books/handbook/config/chapter.sgml
  projects/sgml2xml/zh_CN.GB2312/books/handbook/cutting-edge/chapter.sgml
  projects/sgml2xml/zh_CN.GB2312/books/handbook/desktop/chapter.sgml
  projects/sgml2xml/zh_CN.GB2312/books/handbook/disks/chapter.sgml
  projects/sgml2xml/zh_CN.GB2312/books/handbook/dtrace/chapter.sgml
  projects/sgml2xml/zh_CN.GB2312/books/handbook/eresources/chapter.sgml
  projects/sgml2xml/zh_CN.GB2312/books/handbook/filesystems/chapter.sgml
  projects/sgml2xml/zh_CN.GB2312/books/handbook/firewalls/chapter.sgml
  projects/sgml2xml/zh_CN.GB2312/books/handbook/geom/chapter.sgml
  projects/sgml2xml/zh_CN.GB2312/books/handbook/install/chapter.sgml
  projects/sgml2xml/zh_CN.GB2312/books/handbook/introduction/chapter.sgml
  projects/sgml2xml/zh_CN.GB2312/books/handbook/jails/chapter.sgml
  projects/sgml2xml/zh_CN.GB2312/books/handbook/kernelconfig/chapter.sgml
  projects/sgml2xml/zh_CN.GB2312/books/handbook/l10n/chapter.sgml
  projects/sgml2xml/zh_CN.GB2312/books/handbook/linuxemu/chapter.sgml
  projects/sgml2xml/zh_CN.GB2312/books/handbook/mac/chapter.sgml
  projects/sgml2xml/zh_CN.GB2312/books/handbook/mail/chapter.sgml
  projects/sgml2xml/zh_CN.GB2312/books/handbook/mirrors/chapter.sgml
  projects/sgml2xml/zh_CN.GB2312/books/handbook/multimedia/chapter.sgml
  projects/sgml2xml/zh_CN.GB2312/books/handbook/network-servers/chapter.sgml
  projects/sgml2xml/zh_CN.GB2312/books/handbook/pgpkeys/chapter.sgml
  projects/sgml2xml/zh_CN.GB2312/books/handbook/ports/chapter.sgml
  projects/sgml2xml/zh_CN.GB2312/books/handbook/ppp-and-slip/chapter.sgml
  projects/sgml2xml/zh_CN.GB2312/books/handbook/preface/preface.sgml
  projects/sgml2xml/zh_CN.GB2312/books/handbook/printing/chapter.sgml
  projects/sgml2xml/zh_CN.GB2312/books/handbook/security/chapter.sgml
  projects/sgml2xml/zh_CN.GB2312/books/handbook/serialcomms/chapter.sgml
  projects/sgml2xml/zh_CN.GB2312/books/handbook/txtfiles.ent
  projects/sgml2xml/zh_CN.GB2312/books/handbook/users/chapter.sgml
  projects/sgml2xml/zh_CN.GB2312/books/handbook/vinum/chapter.sgml
  projects/sgml2xml/zh_CN.GB2312/books/handbook/virtualization/chapter.sgml
  projects/sgml2xml/zh_CN.GB2312/books/handbook/x11/chapter.sgml
  projects/sgml2xml/zh_CN.GB2312/books/porters-handbook/book.sgml
  projects/sgml2xml/zh_CN.GB2312/share/sgml/catalog
  projects/sgml2xml/zh_CN.GB2312/share/sgml/trademarks.ent

Modified: projects/sgml2xml/zh_CN.GB2312/articles/contributing/article.sgml
==============================================================================
--- projects/sgml2xml/zh_CN.GB2312/articles/contributing/article.sgml	Sun Jun 24 08:48:24 2012	(r39112)
+++ projects/sgml2xml/zh_CN.GB2312/articles/contributing/article.sgml	Sun Jun 24 08:49:01 2012	(r39113)
@@ -1,21 +1,21 @@
+<?xml version="1.0" encoding="GB2312" standalone="no"?>
+<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook XML V4.2-Based Extension//EN"
+	"../../../share/sgml/freebsd42.dtd" [
+<!ENTITY % entities PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Entity Set//ZH" "../../share/sgml/entities.ent">
+%entities;
+]>
+
 <!--
      The FreeBSD Documentation Project
      The FreeBSD Chinese (Simplified) Documentation Project
 
      Original Revision: 1.511
 -->
-<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [
-<!ENTITY % articles.ent PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Articles Entity Set//EN">
-%articles.ent;
-<!ENTITY % not.published "IGNORE">
-]>
 
-<article>
+<article lang='zh_cn'>
   <articleinfo>
     <title>Ϊ FreeBSD Ìṩ°ïÖú</title>
 
-    <pubdate>$FreeBSD$</pubdate>
-
     <abstract>
       <para>ÎÞÂÛÊÇ×÷Ϊ¸öÈË»¹ÊÇ×éÖ¯»ú¹¹£¬Èç¹ûÄúÏ£ÍûΪFreeBSDÏîÄ¿Ìṩ°ïÖú£¬
         ¶¼¿ÉÒÔÔÚ±¾ÎÄÖÐÕÒµ½ºÏÊʵķ½·¨¡£</para>
@@ -35,6 +35,10 @@
       &tm-attrib.general;
     </legalnotice>
 
+    <pubdate>$FreeBSD$</pubdate>
+
+    <releaseinfo>$FreeBSD$</releaseinfo>
+
   </articleinfo>
 
    <indexterm><primary>¹±Ï× </primary></indexterm>
@@ -170,7 +174,7 @@
 	  <para>»ñÈ¡Ò»·ÝÕýʽµÄ±ê×¼£¬ Èç &posix; µÄ¸±±¾¡£
 	    Äú¿ÉÒÔÔÚ <ulink
 	    url="&url.base;/projects/c99/index.html">FreeBSD
-	    C99 & POSIX ±ê׼˳ӦÏîÄ¿</ulink> ÍøÕ¾Éϵõ½Ïà¹ØµÄÁ´½Ó¡£
+	    C99 &amp; POSIX ±ê׼˳ӦÏîÄ¿</ulink> ÍøÕ¾Éϵõ½Ïà¹ØµÄÁ´½Ó¡£
 	    ½« FreeBSD µÄÐÐΪͬ±ê×¼½øÐбȽϡ£ Èç¹ûÓë±ê×¼²»Í¬£¬
 	    ÌرðÊÇÄÇЩϸ½ÚµØ·½µÄ΢С²îÒ죬 Çë·¢ËÍÒ»¸ö¹ØÓÚËüµÄ PR (ÎÊÌⱨ¸æ)¡£
 	    Èç¹û¿ÉÄÜ£¬ ÇëÖ¸³öÈçºÎÐÞÕýËü£¬ ²¢Ëæ PR Ìá½»²¹¶¡¡£
@@ -275,7 +279,7 @@
 	url="&url.books.fdp-primer;/index.html">FreeBSD
 	Îĵµ¼Æ»®³õ¼¶¶Á±¾</ulink> À´»ñµÃÍêÕûµÄÖ¸µ¼¡£
 	Çë°´ÕÕ <xref
-	linkend="contrib-general"> ÖнéÉܵķ½·¨Ê¹Óà &man.send-pr.1;
+	linkend="contrib-general"/> ÖнéÉܵķ½·¨Ê¹Óà &man.send-pr.1;
 	À´·¢ËÍеÄÎĵµ»òÕ߶ÔÓÚÏÖÓÐÎĵµµÄÍêÉÆ (ÄÄÅÂÊǺÜСµÄ¸Ä½øÒ²ÊÇ»¶Ó­µÄ£¡)¡£</para>
     </sect2>
 
@@ -336,7 +340,7 @@
 
       <para>Ò»µ©ÄúʹÓà &man.diff.1; Éú³ÉÁ˲îÒ켯 (¿ÉÒÔʹÓÃ
 	&man.patch.1; ÃüÁîÀ´²âÊÔÒ»ÏÂ)£¬ ¾Í¿ÉÒÔÌá½»ËüÃÇ£¬
-	ÒԱ㱻 FreeBSD ÊÕ¼¡£ ͨ¹ýʹÓà <xref linkend="contrib-general">
+	ÒԱ㱻 FreeBSD ÊÕ¼¡£ ͨ¹ýʹÓà <xref linkend="contrib-general"/>
 	ÖÐËù½éÉÜµÄ &man.send-pr.1; ³ÌÐò¾Í¿ÉÒÔÍê³ÉÕâÏ×÷¡£
 	<emphasis>²»Òª</emphasis> Ö»ÊǰѲîÒ켯·¢µ½ &a.hackers;£¬
 	·ñÔòËüÃÇ¿ÉÄܻᱻ¶ªµô£¡ ÎÒÃÇ»á·Ç³£¸Ð¼¤ÄúÌá½»µÄÐÞ¸Ä
@@ -389,9 +393,11 @@
 	    ¾Í¸üºÃÁË¡£</para>
 	</listitem>
 
-  <indexterm><primary>GPL</primary><see>GNU General Public License</see></indexterm>
-  <indexterm><primary>GNU General Public License</primary></indexterm>
 	<listitem>
+	  <indexterm><primary>GPL</primary><see>GNU General Public License</see></indexterm>
+
+	  <indexterm><primary>GNU General Public License</primary></indexterm>
+
 	  <para>GNU General Public License£¬ »ò¼ò³Æ <quote>GPL</quote>¡£
 	    ÎÒÃDz¢²»ºÜ»¶Ó­Ê¹ÓÃÕâÑùÊÚȨµÄ´úÂ룬
 	    ÒòΪÉÌÒµ¹«Ë¾Ê¹ÓÃËüÐèÒª×ö¸ü¶àµÄ¹¤×÷¡£ ²»¹ý£¬ ÓÉÓںܶàʹÓÃ
@@ -454,7 +460,7 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE PO
 	¶øÎÒÃÇÖеĺܶàÈ˲¢Ã»ÓÐ×ã¹»µÄ×ʽðÀ´¹ºÖÃÕâЩӲ¼þ¡£</para>
 
       <sect3>
-	<title><anchor id="donations">¾è¿î</title>
+	<title><anchor id="donations"/>¾è¿î</title>
 
 	<para>FreeBSD »ù½ð»áÊÇÒ»¸ö·ÇÓªÀûµÄ¡¢ ÓпÎË°»íÃâȨµÄ»ù½ð»á£¬
 	  ½¨Á¢Õâ¸ö»ù½ð»áµÄÄ¿±êÊÇΪÁËÈà FreeBSD Project Äܹ»´ï³É¸ü¼Ó³¤Ô¶µÄÄ¿±ê¡£

Modified: projects/sgml2xml/zh_CN.GB2312/articles/cvs-freebsd/article.sgml
==============================================================================
--- projects/sgml2xml/zh_CN.GB2312/articles/cvs-freebsd/article.sgml	Sun Jun 24 08:48:24 2012	(r39112)
+++ projects/sgml2xml/zh_CN.GB2312/articles/cvs-freebsd/article.sgml	Sun Jun 24 08:49:01 2012	(r39113)
@@ -1,3 +1,10 @@
+<?xml version="1.0" encoding="GB2312" standalone="no"?>
+<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook XML V4.2-Based Extension//EN"
+	"../../../share/sgml/freebsd42.dtd" [
+<!ENTITY % entities PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Entity Set//ZH" "../../share/sgml/entities.ent">
+%entities;
+]>
+
 <!--
      The FreeBSD Documentation Project
      The FreeBSD Chinese (Simplified) Documentation Project
@@ -5,12 +12,8 @@
      From FreeBSD: doc/zh_TW.Big5/articles/cvs-freebsd/article.sgml,v 1.2 2006/01/31 01:30:59 vanilla
      Original Revision: 1.17
 -->
-<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [
-<!ENTITY % articles.ent PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Articles Entity Set//EN">
-%articles.ent;
-]>
 
-<article>
+<article lang='zh_cn'>
   <articleinfo>
     <title>½¨Á¢ CVS ´¢´æ¿â (repository) - ÒÔ FreeBSD µÄ·½Ê½</title>
 
@@ -22,6 +25,8 @@
       </affiliation>
     </author>
 
+    <pubdate>$FreeBSD$</pubdate>
+
     <copyright>
       <year>2001</year>
       <year>2002</year>

Modified: projects/sgml2xml/zh_CN.GB2312/articles/linux-users/article.sgml
==============================================================================
--- projects/sgml2xml/zh_CN.GB2312/articles/linux-users/article.sgml	Sun Jun 24 08:48:24 2012	(r39112)
+++ projects/sgml2xml/zh_CN.GB2312/articles/linux-users/article.sgml	Sun Jun 24 08:49:01 2012	(r39113)
@@ -1,15 +1,18 @@
+<?xml version="1.0" encoding="GB2312" standalone="no"?>
+<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook XML V4.2-Based Extension//EN"
+	"../../../share/sgml/freebsd42.dtd" [
+<!ENTITY % entities PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Entity Set//ZH" "../../share/sgml/entities.ent">
+%entities;
+]>
+
 <!--
      The FreeBSD Documentation Project
      The FreeBSD Chinese (Simplified) Documentation Project
 
      Original Revision: 1.10
 -->
-<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [
-<!ENTITY % articles.ent PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Articles Entity Set//EN">
-%articles.ent;
-]>
 
-<article>
+<article lang='zh_cn'>
   <articleinfo>
     <title>&linux; Óû§µÄ FreeBSD ¿ìËÙÈëÃÅÏòµ¼</title>
 
@@ -20,6 +23,8 @@
       </author>
     </authorgroup>
 
+    <pubdate>$FreeBSD$</pubdate>
+
     <copyright>
       <year>2008</year>
       <holder>The FreeBSD Documentation Project</holder>
@@ -54,7 +59,7 @@
       Èç¹ûÄ㻹ûÓа²×° &os; »òÕß¶Ô &os;
       µÄ°²×°¹ý³Ì·½ÃæÐèÒª°ïÖú£¬Çë²Î¿¼ &os; ÊÖ²áµÄ
       <ulink url="&url.base;/doc/en_US.ISO8859-1/books/handbook/install.html">
-        °²×° FreeBSD</ulink>Ò»Õ¡£
+        °²×° FreeBSD</ulink>Ò»Õ¡£</para>
   </sect1>
 
   <sect1 id="shells">

Modified: projects/sgml2xml/zh_CN.GB2312/articles/nanobsd/article.sgml
==============================================================================
--- projects/sgml2xml/zh_CN.GB2312/articles/nanobsd/article.sgml	Sun Jun 24 08:48:24 2012	(r39112)
+++ projects/sgml2xml/zh_CN.GB2312/articles/nanobsd/article.sgml	Sun Jun 24 08:49:01 2012	(r39113)
@@ -1,15 +1,18 @@
+<?xml version="1.0" encoding="GB2312" standalone="no"?>
+<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook XML V4.2-Based Extension//EN"
+	"../../../share/sgml/freebsd42.dtd" [
+<!ENTITY % entities PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Entity Set//ZH" "../../share/sgml/entities.ent">
+%entities;
+]>
+
 <!--
      The FreeBSD Documentation Project
      The FreeBSD Chinese (Simplified) Documentation Project
 
      Original Revision: 1.7
 -->
-<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [
-<!ENTITY % articles.ent PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Articles Entity Set//EN">
-%articles.ent;
-]>
 
-<article>
+<article lang='zh_cn'>
   <articleinfo>
     <title>NanoBSD ¼ò½é</title>
 
@@ -21,13 +24,15 @@
       </author>
     </authorgroup>
 
-    <pubdate>$FreeBSD$</pubdate>
-
     <copyright>
       <year>2006</year>
       <holder>The FreeBSD Documentation Project</holder>
     </copyright>
 
+    <pubdate>$FreeBSD$</pubdate>
+
+    <releaseinfo>$FreeBSD$</releaseinfo>
+
     <legalnotice id="trademarks" role="trademarks">
       &tm-attrib.freebsd;
       &tm-attrib.general;
@@ -152,10 +157,10 @@
       <para>¹¹½¨
 	<application>NanoBSD</application> Ó³ÏñËùÐèµÄÃüÁîÊÇ£º</para>
 
-      <screen>&prompt.root; <userinput>cd /usr/src/tools/tools/nanobsd</userinput> <co id="nbsd-cd">
-&prompt.root; <userinput>sh nanobsd.sh</userinput> <co id="nbsd-sh">
-&prompt.root; <userinput>cd /usr/obj/nanobsd.full</userinput> <co id="nbsd-cd2">
-&prompt.root; <userinput>dd if=_.disk.full of=/dev/da0 bs=64k</userinput> <co id="nbsd-dd"></screen>
+      <screen>&prompt.root; <userinput>cd /usr/src/tools/tools/nanobsd</userinput> <co id="nbsd-cd"/>
+&prompt.root; <userinput>sh nanobsd.sh</userinput> <co id="nbsd-sh"/>
+&prompt.root; <userinput>cd /usr/obj/nanobsd.full</userinput> <co id="nbsd-cd2"/>
+&prompt.root; <userinput>dd if=_.disk.full of=/dev/da0 bs=64k</userinput> <co id="nbsd-dd"/></screen>
 
       <calloutlist>
 	<callout arearefs="nbsd-cd">

Modified: projects/sgml2xml/zh_CN.GB2312/articles/rc-scripting/article.sgml
==============================================================================
--- projects/sgml2xml/zh_CN.GB2312/articles/rc-scripting/article.sgml	Sun Jun 24 08:48:24 2012	(r39112)
+++ projects/sgml2xml/zh_CN.GB2312/articles/rc-scripting/article.sgml	Sun Jun 24 08:49:01 2012	(r39113)
@@ -1,15 +1,18 @@
+<?xml version="1.0" encoding="GB2312" standalone="no"?>
+<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook XML V4.2-Based Extension//EN"
+	"../../../share/sgml/freebsd42.dtd" [
+<!ENTITY % entities PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Entity Set//ZH" "../../share/sgml/entities.ent">
+%entities;
+]>
+
 <!--
      The FreeBSD Documentation Project
      The FreeBSD Chinese (Simplified) Documentation Project
 
      Original Revision: 1.14
 -->
-<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [
-<!ENTITY % articles.ent PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Articles Entity Set//EN">
-%articles.ent;
-]>
 
-<article>
+<article lang='zh_cn'>
   <articleinfo>
     <title>BSD rc.d½Å±¾±à³Ìʵս</title>
 
@@ -33,6 +36,8 @@
 
     <pubdate>$FreeBSD$</pubdate>
 
+    <releaseinfo>$FreeBSD$</releaseinfo>
+
     <legalnotice id="trademarks" role="trademarks">
       &tm-attrib.freebsd;
       &tm-attrib.netbsd;
@@ -176,21 +181,21 @@
     <para>ÏÂÃæµÄ½Å±¾ÊÇÓÃÀ´ÔÚÿ´ÎϵͳÆô¶¯Ê±·¢³öÒ»¸öÐÅÏ¢£º</para>
 
     <informalexample>
-      <programlisting>#!/bin/sh<co id="rcng-dummy-shebang">
+      <programlisting>#!/bin/sh<co id="rcng-dummy-shebang"/>
 
-. /etc/rc.subr<co id="rcng-dummy-include">
+. /etc/rc.subr<co id="rcng-dummy-include"/>
 
-name="dummy"<co id="rcng-dummy-name">
-start_cmd="${name}_start"<co id="rcng-dummy-startcmd">
-stop_cmd=":"<co id="rcng-dummy-stopcmd">
+name="dummy"<co id="rcng-dummy-name"/>
+start_cmd="${name}_start"<co id="rcng-dummy-startcmd"/>
+stop_cmd=":"<co id="rcng-dummy-stopcmd"/>
 
-dummy_start()<co id="rcng-dummy-startfn">
+dummy_start()<co id="rcng-dummy-startfn"/>
 {
 	echo "Nothing started."
 }
 
-load_rc_config $name<co id="rcng-dummy-loadconfig">
-run_rc_command "$1"<co id="rcng-dummy-runcommand"></programlisting>
+load_rc_config $name<co id="rcng-dummy-loadconfig"/>
+run_rc_command "$1"<co id="rcng-dummy-runcommand"/></programlisting>
     </informalexample>
 
     <para>ÐèҪעÒâµÄÊÇ£º</para>
@@ -254,7 +259,7 @@ run_rc_command "$1"<co id="rcng-dummy-ru
       </callout>
 
       <callout arearefs="rcng-dummy-name">
-        <para><anchor id="name-var">Ç¿ÖƵıäÁ¿
+        <para><anchor id="name-var"/>Ç¿ÖƵıäÁ¿
             <envar>name</envar> Ö¸¶¨ÎÒÃǽű¾µÄÃû×Ö¡£
             ÕâÊÇ &man.rc.subr.8; ËùÇ¿µ÷µÄ¡£Ò²¾ÍÊÇ£¬
             ÿ¸ö <filename>rc.d</filename> ½Å±¾ÔÚµ÷ÓÃ
@@ -348,18 +353,18 @@ run_rc_command "$1"<co id="rcng-dummy-ru
 . /etc/rc.subr
 
 name=dummy
-rcvar=dummy_enable<co id="rcng-confdummy-rcvar">
+rcvar=dummy_enable<co id="rcng-confdummy-rcvar"/>
 
 start_cmd="${name}_start"
 stop_cmd=":"
 
-load_rc_config $name<co id="rcng-confdummy-loadconfig">
-eval "${rcvar}=\${${rcvar}:-'NO'}"<co id="rcng-confdummy-enable">
-dummy_msg=${dummy_msg:-"Nothing started."}<co id="rcng-confdummy-opt">
+load_rc_config $name<co id="rcng-confdummy-loadconfig"/>
+eval "${rcvar}=\${${rcvar}:-'NO'}"<co id="rcng-confdummy-enable"/>
+dummy_msg=${dummy_msg:-"Nothing started."}<co id="rcng-confdummy-opt"/>
 
 dummy_start()
 {
-	echo "$dummy_msg"<co id="rcng-confdummy-msg">
+	echo "$dummy_msg"<co id="rcng-confdummy-msg"/>
 }
 
 run_rc_command "$1"</programlisting>
@@ -466,7 +471,7 @@ run_rc_command "$1"</programlisting>
       ËüÃǶ¼ÊÇÊÊÓÃÓÚ´ó¶àÊýÇé¿öÏÂÀ´Æô¶¯ºÍÍ£Ö¹Ò»¸ö¼òµ¥µÄÊØ»¤½ø³Ì¿ö¡£
       ÎÒÃÇÀ´¼ÙÉèÏÖÔÚÐèҪΪһ¸ö½Ð×ö <command>mumbled</command>
       µÄÊØ»¤½ø³Ì±àдһ¸ö <filename>rc.d</filename>½Å±¾£¬
-      ÔÚÕâÀ/para>
+      ÔÚÕâÀ</para>
 
     <informalexample>
       <programlisting>#!/bin/sh
@@ -476,7 +481,7 @@ run_rc_command "$1"</programlisting>
 name=mumbled
 rcvar=mumbled_enable
 
-command="/usr/sbin/${name}"<co id="rcng-daemon-basic-cmd">
+command="/usr/sbin/${name}"<co id="rcng-daemon-basic-cmd"/>
 
 load_rc_config $name
 run_rc_command "$1"</programlisting>
@@ -562,26 +567,26 @@ name=mumbled
 rcvar=mumbled_enable
 
 command="/usr/sbin/${name}"
-command_args="mock arguments &gt; /dev/null 2&gt;&amp;1"<co id="rcng-daemon-adv-args">
+command_args="mock arguments &gt; /dev/null 2&gt;&amp;1"<co id="rcng-daemon-adv-args"/>
 
-pidfile="/var/run/${name}.pid"<co id="rcng-daemon-adv-pid">
+pidfile="/var/run/${name}.pid"<co id="rcng-daemon-adv-pid"/>
 
-required_files="/etc/${name}.conf /usr/share/misc/${name}.rules"<co id="rcng-daemon-adv-reqfiles">
+required_files="/etc/${name}.conf /usr/share/misc/${name}.rules"<co id="rcng-daemon-adv-reqfiles"/>
 
-sig_reload="USR1"<co id="rcng-daemon-adv-sig">
+sig_reload="USR1"<co id="rcng-daemon-adv-sig"/>
 
-start_precmd="${name}_prestart"<co id="rcng-daemon-adv-precmd">
-stop_postcmd="echo Bye-bye"<co id="rcng-daemon-adv-postcmd">
+start_precmd="${name}_prestart"<co id="rcng-daemon-adv-precmd"/>
+stop_postcmd="echo Bye-bye"<co id="rcng-daemon-adv-postcmd"/>
 
-extra_commands="reload plugh xyzzy"<co id="rcng-daemon-adv-extra">
+extra_commands="reload plugh xyzzy"<co id="rcng-daemon-adv-extra"/>
 
-plugh_cmd="mumbled_plugh"<co id="rcng-daemon-adv-methods">
+plugh_cmd="mumbled_plugh"<co id="rcng-daemon-adv-methods"/>
 xyzzy_cmd="echo 'Nothing happens.'"
 
 mumbled_prestart()
 {
-	if checkyesno mumbled_smart; then<co id="rcng-daemon-adv-yn">
-		rc_flags="-o smart ${rc_flags}"<co id="rcng-daemon-adv-rcflags">
+	if checkyesno mumbled_smart; then<co id="rcng-daemon-adv-yn"/>
+		rc_flags="-o smart ${rc_flags}"<co id="rcng-daemon-adv-rcflags"/>
 	fi
 	case "$mumbled_mode" in
 	foo)
@@ -591,15 +596,15 @@ mumbled_prestart()
 		rc_flags="-baz ${rc_flags}"
 		;;
 	*)
-		warn "Invalid value for mumbled_mode"<co id="rcng-daemon-adv-warn">
-		return 1<co id="rcng-daemon-adv-preret">
+		warn "Invalid value for mumbled_mode"<co id="rcng-daemon-adv-warn"/>
+		return 1<co id="rcng-daemon-adv-preret"/>
 		;;
 	esac
-	run_rc_command xyzzy<co id="rcng-daemon-adv-run">
+	run_rc_command xyzzy<co id="rcng-daemon-adv-run"/>
 	return 0
 }
 
-mumbled_plugh()<co id="rcng-daemon-adv-plugh">
+mumbled_plugh()<co id="rcng-daemon-adv-plugh"/>
 {
 	echo 'A hollow voice says "plugh".'
 }
@@ -891,10 +896,10 @@ fi</programlisting>
     <informalexample>
       <programlisting>#!/bin/sh
 
-# PROVIDE: mumbled oldmumble <co id="rcng-hookup-provide">
-# REQUIRE: DAEMON cleanvar frotz<co id="rcng-hookup-require">
-# BEFORE:  LOGIN<co id="rcng-hookup-before">
-# KEYWORD: nojail shutdown<co id="rcng-hookup-keyword">
+# PROVIDE: mumbled oldmumble <co id="rcng-hookup-provide"/>
+# REQUIRE: DAEMON cleanvar frotz<co id="rcng-hookup-require"/>
+# BEFORE:  LOGIN<co id="rcng-hookup-before"/>
+# KEYWORD: nojail shutdown<co id="rcng-hookup-keyword"/>
 
 . /etc/rc.subr
 
@@ -908,7 +913,7 @@ mumbled_prestart()
 {
 	if ! checkyesno frotz_enable && \
 	    ! /etc/rc.d/frotz forcestatus 1>/dev/null 2>&1; then
-		force_depend frotz || return 1<co id="rcng-hookup-force">
+		force_depend frotz || return 1<co id="rcng-hookup-force"/>
 	fi
 	return 0
 }
@@ -969,7 +974,7 @@ run_rc_command "$1"</programlisting>
       </callout>
 
       <callout arearefs="rcng-hookup-keyword">
-        <para><anchor id="keywords">ÈçÎÒÃÇ´ÓÉÏÊöÎÄ×ÖËù¼ÇÆðµÄ£¬&man.rcorder.8;
+        <para><anchor id="keywords"/>ÈçÎÒÃÇ´ÓÉÏÊöÎÄ×ÖËù¼ÇÆðµÄ£¬&man.rcorder.8;
             ¹Ø¼ü×Ö¿ÉÒÔÓÃÀ´Ñ¡Ôñ»òÊ¡ÂÔijЩ½Å±¾¡£¼´ÈκΠ&man.rcorder.8;
             Óû§¿ÉÒÔͨ¹ýÖ¸¶¨ <option>-k</option> ºÍ <option>-s</option>
             Ñ¡ÏîÀ´·Ö±ðÖ¸¶¨ <quote>±£ÁôÇåµ¥£¨keep list£©</quote> ºÍ
@@ -1044,7 +1049,7 @@ run_rc_command "$1"</programlisting>
       </callout>
 
       <callout arearefs="rcng-hookup-force">
-        <para><anchor id="forcedep">ÒÔ
+        <para><anchor id="forcedep"/>ÒÔ
             <function>force_depend</function>
             ÆðʼµÄÐÐÓ¦±»ÓÃÓÚ¸ü½÷É÷µÄÇé¿ö¡£Í¨³££¬ÓÃÓÚÐÞÕýÏ໥¹ØÁªµÄ
             <filename>rc.d</filename>
@@ -1117,7 +1122,7 @@ extra_commands="kiss"
 
 dummy_start()
 {
-        if [ $# -gt 0 ]; then<co id="rcng-args-start">
+        if [ $# -gt 0 ]; then<co id="rcng-args-start"/>
                 echo "Greeting message: $*"
         else
                 echo "Nothing started."
@@ -1127,7 +1132,7 @@ dummy_start()
 dummy_kiss()
 {
         echo -n "A ghost gives you a kiss"
-        if [ $# -gt 0 ]; then<co id="rcng-args-kiss">
+        if [ $# -gt 0 ]; then<co id="rcng-args-kiss"/>
                 echo -n " and whispers: $*"
         fi
         case "$*" in
@@ -1141,7 +1146,7 @@ dummy_kiss()
 }
 
 load_rc_config $name
-run_rc_command "$@"<co id="rcng-args-all"></programlisting>
+run_rc_command "$@"<co id="rcng-args-all"/></programlisting>
     </informalexample>
 
     <para>ÄÜ×¢Òâµ½½Å±¾Àï·¢ÉúÁËÄÇЩʵÖÊÐԸıäô£¿</para>
@@ -1201,14 +1206,14 @@ A ghost gives you a kiss and whispers: O
   <sect1 id="rcng-furthur">
     <title>½øÒ»²½ÔĶÁ</title>
 
-    <para><anchor id="lukem"><ulink url="http://www.mewburn.net/luke/papers/rc.d.pdf">
+    <para><anchor id="lukem"/><ulink url="http://www.mewburn.net/luke/papers/rc.d.pdf">
           Luke Mewburn µÄԭʼÎÄÕÂ</ulink> Öн²ÊöÁË
         <filename>rc.d</filename> µÄ»ù±¾¸ÅÒª£¬
         ²¢Ïêϸ²ûÊöÁËÆäÉè¼Æ·½°¸µÄÔ­Àí¡£¸ÃÎÄÕÂÌṩÁËÉîÈëÁ˽âÕû¸ö
         <filename>rc.d</filename> ¿ò¼ÜÒÔ¼°ÆäËùÔÚµÄÏÖ´ú BSD
         ²Ù×÷ϵͳµÄÄÚÈÝ¡£</para>
 
-    <para><anchor id="manpages">ÔÚ &man.rc.8;£¬&man.rc.subr.8;£¬
+    <para><anchor id="manpages"/>ÔÚ &man.rc.8;£¬&man.rc.subr.8;£¬
         »¹ÓÐ &man.rcorder.8; µÄÁª»úÊÖ²áÖУ¬¶Ô
         <filename>rc.d</filename> ×é¼þ×öÁ˷dz£ÏêϸµÄ¼ÇÔØ¡£
         ÔÚÄãд½Å±¾Ê±£¬Èç¹û²»È¥Ñ§Ï°ºÍ²Î¿¼ÕâЩÁª»úÊÖ²áµÄ»°£¬

Modified: projects/sgml2xml/zh_CN.GB2312/articles/remote-install/article.sgml
==============================================================================
--- projects/sgml2xml/zh_CN.GB2312/articles/remote-install/article.sgml	Sun Jun 24 08:48:24 2012	(r39112)
+++ projects/sgml2xml/zh_CN.GB2312/articles/remote-install/article.sgml	Sun Jun 24 08:49:01 2012	(r39113)
@@ -1,15 +1,18 @@
+<?xml version="1.0" encoding="GB2312" standalone="no"?>
+<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook XML V4.2-Based Extension//EN"
+	"../../../share/sgml/freebsd42.dtd" [
+<!ENTITY % entities PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Entity Set//ZH" "../../share/sgml/entities.ent">
+%entities;
+]>
+
 <!--
      The FreeBSD Documentation Project
      The FreeBSD Chinese (Simplified) Documentation Project
 
      Original Revision: 1.6
 -->
-<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [
-<!ENTITY % articles.ent PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Articles Entity Set//EN">
-%articles.ent;
-]>
 
-<article>
+<article lang='zh_cn'>
   <articleinfo>
     <title>&os; ²Ù×÷ϵͳÔÚÎÞÔ¶³Ì¿ØÖÆ̨ϵÄÔ¶³Ì°²×°</title>
 
@@ -22,8 +25,6 @@
       <!-- 11 April 2008 -->
     </author>
 
-    <pubdate>$FreeBSD$</pubdate>
-
     <legalnotice id="trademarks" role="trademarks">
       &tm-attrib.freebsd;
       &tm-attrib.general;
@@ -34,6 +35,10 @@
       <holder>The &os; Documentation Project</holder>
     </copyright>
 
+    <pubdate>$FreeBSD$</pubdate>
+
+    <releaseinfo>$FreeBSD$</releaseinfo>
+
     <abstract>
       <para>±¾ÎĹ鵵Á˵±Ô¶³Ì¿ØÖÆ̨²»¿ÉÓõÄÇé¿öÏ &os; ²Ù×÷ϵͳµÄÔ¶³Ì°²×°¡£
         ÎÄÕ±³ºóµÄÖ÷ÒªÁé¸Ð¹é¹¦ÓÚºÍ &a.mm; »¹ÓÐÓÉ &a.pjd;
@@ -298,17 +303,17 @@ ifconfig_re0="inet 192.168.0.2 netmask 2
         ²¢ÈçºÎÔÚÿ¸ö±»¾µÏñ¹ýµÄ partition ÉÏ´´½¨
         <application>UFS2</application> Îļþϵͳ£º</para>
 
-      <screen>&prompt.root; <userinput>fdisk -BI /dev/ad0</userinput> <co id="fdisk">
+      <screen>&prompt.root; <userinput>fdisk -BI /dev/ad0</userinput> <co id="fdisk"/>
 &prompt.root; <userinput>fdisk -BI /dev/ad1</userinput>
-&prompt.root; <userinput>bsdlabel -wB /dev/ad0s1</userinput> <co id="bsdlabel-writing">
+&prompt.root; <userinput>bsdlabel -wB /dev/ad0s1</userinput> <co id="bsdlabel-writing"/>
 &prompt.root; <userinput>bsdlabel -wB /dev/ad1s1</userinput>
-&prompt.root; <userinput>bsdlabel -e /dev/ad0s1</userinput> <co id="bsdlabel-editing">
-&prompt.root; <userinput>bsdlabel /dev/ad0s1 > /tmp/bsdlabel.txt && bsdlabel -R /dev/ad1s1 /tmp/bsdlabel.txt</userinput> <co id="bsdlabel-restore">
-&prompt.root; <userinput>gmirror label root /dev/ad[01]s1a</userinput> <co id="gmirror1">
+&prompt.root; <userinput>bsdlabel -e /dev/ad0s1</userinput> <co id="bsdlabel-editing"/>
+&prompt.root; <userinput>bsdlabel /dev/ad0s1 > /tmp/bsdlabel.txt &amp;&amp; bsdlabel -R /dev/ad1s1 /tmp/bsdlabel.txt</userinput> <co id="bsdlabel-restore"/>
+&prompt.root; <userinput>gmirror label root /dev/ad[01]s1a</userinput> <co id="gmirror1"/>
 &prompt.root; <userinput>gmirror label var /dev/ad[01]s1d</userinput>
 &prompt.root; <userinput>gmirror label usr /dev/ad[01]s1e</userinput>
-&prompt.root; <userinput>gmirror label -F swap /dev/ad[01]s1b</userinput> <co id="gmirror2">
-&prompt.root; <userinput>newfs /dev/mirror/root</userinput> <co id="newfs">
+&prompt.root; <userinput>gmirror label -F swap /dev/ad[01]s1b</userinput> <co id="gmirror2"/>
+&prompt.root; <userinput>newfs /dev/mirror/root</userinput> <co id="newfs"/>
 &prompt.root; <userinput>newfs /dev/mirror/var</userinput>
 &prompt.root; <userinput>newfs /dev/mirror/usr</userinput></screen>
 

Modified: projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/book.sgml
==============================================================================
--- projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/book.sgml	Sun Jun 24 08:48:24 2012	(r39112)
+++ projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/book.sgml	Sun Jun 24 08:49:01 2012	(r39113)
@@ -1,3 +1,14 @@
+<?xml version="1.0" encoding="GB2312" standalone="no"?>
+<!DOCTYPE book PUBLIC "-//FreeBSD//DTD DocBook XML V4.2-Based Extension//EN"
+	"../../../share/sgml/freebsd42.dtd" [
+<!ENTITY % entities PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Entity Set//ZH" "../../share/sgml/entities.ent">
+%entities;
+<!ENTITY % chapters SYSTEM "chapters.ent">
+%chapters;
+<!ENTITY % mac-entities SYSTEM "mac.ent">
+%mac-entities;
+]>
+
 <!--
      The FreeBSD Documentation Project
      The FreeBSD Simplified Chinese Project
@@ -6,18 +17,7 @@
      $FreeBSD$
 -->
 
-<!DOCTYPE BOOK PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [
-<!ENTITY % books.ent PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Books Entity Set//EN">
-%books.ent;
-<!ENTITY % chapters SYSTEM "chapters.ent">
-%chapters;
-<!ENTITY % mac-entities SYSTEM "mac.ent">
-%mac-entities;
-
-<!ENTITY % chap.index "IGNORE">
-]>
-
-<book>
+<book lang='zh_cn'>
   <bookinfo>
     <title>&os; ϵͳ½á¹¹ÊÖ²á</title>
     
@@ -47,8 +47,10 @@
       <holder>&cnproj.freebsd.org;</holder>
     </copyright>
 
-    &bookinfo.trademarks;
-    &bookinfo.legalnotice;
+    &trademarks;
+    &legalnotice;
+
+    <releaseinfo>$FreeBSD$</releaseinfo>
     
     <abstract>
 
@@ -181,6 +183,6 @@
       </bibliography>
   </part>
 
-  <![ %chap.index;                    [ &chap.index;                ]]>
+  &chap.index;
 
 </book>

Modified: projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/boot/chapter.sgml
==============================================================================
--- projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/boot/chapter.sgml	Sun Jun 24 08:48:24 2012	(r39112)
+++ projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/boot/chapter.sgml	Sun Jun 24 08:49:01 2012	(r39113)
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="GB2312" standalone="no"?>
 <!--
 The FreeBSD Documentation Project
 The FreeBSD Simplified Chinese Project

Modified: projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/chapters.ent
==============================================================================
--- projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/chapters.ent	Sun Jun 24 08:48:24 2012	(r39112)
+++ projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/chapters.ent	Sun Jun 24 08:49:01 2012	(r39113)
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="GB2312"?>
 <!-- 
      Creates entities for each chapter in the FreeBSD Architecture
      Handbook. Each entity is named chap.foo, where foo is the value
@@ -10,6 +11,8 @@
      $FreeBSD$
 -->
 
+<!ENTITY % chap.index "IGNORE">
+
 <!-- Part one - Kernel -->
 <!ENTITY chap.boot			SYSTEM "boot/chapter.sgml">
 <!ENTITY chap.kobj			SYSTEM "kobj/chapter.sgml">
@@ -31,4 +34,7 @@
 <!ENTITY chap.pccard			SYSTEM "pccard/chapter.sgml">
 
 <!-- Part three - Appendices -->
-<!ENTITY chap.index			SYSTEM "index.sgml">
+<![%chap.index[
+  <!ENTITY chap.index			SYSTEM "index.sgml">
+]]>
+<!ENTITY chap.index			"">

Modified: projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/driverbasics/chapter.sgml
==============================================================================
--- projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/driverbasics/chapter.sgml	Sun Jun 24 08:48:24 2012	(r39112)
+++ projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/driverbasics/chapter.sgml	Sun Jun 24 08:49:01 2012	(r39113)
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="GB2312" standalone="no"?>
 <!--
      The FreeBSD Documentation Project
      The FreeBSD Simplified Chinese Project

Modified: projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/isa/chapter.sgml
==============================================================================
--- projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/isa/chapter.sgml	Sun Jun 24 08:48:24 2012	(r39112)
+++ projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/isa/chapter.sgml	Sun Jun 24 08:49:01 2012	(r39113)
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="GB2312" standalone="no"?>
 <!--
      The FreeBSD Documentation Project
 
@@ -196,7 +197,7 @@
 
       <para><structname>Device_t</structname>ÊÇΪÉ豸½á¹¹¶ø¶¨ÒåµÄÖ¸ÕëÀàÐÍ£¬
         ÕâÀïÎÒÃÇÖ»¹ØÐÄ´ÓÉ豸Çý¶¯³ÌÐò±àдÕߵĽǶȿ´¸ÐÐËȤµÄ·½·¨¡£ÏÂÃæµÄ·½·¨
-        ÓÃÀ´²Ù×ÝÉ豸½á¹¹ÖеÄÖµ£º<para>
+        ÓÃÀ´²Ù×ÝÉ豸½á¹¹ÖеÄÖµ£º</para>
 
       <itemizedlist>
 
@@ -1591,7 +1592,8 @@
         <para>
           ̽²âÀý³Ìͨ³£ÖÁÉÙÐèҪijЩ×îÉÙÁ¿µÄ×ÊÔ´£¬ÈçI/O¶Ë¿ÚºÅ£¬À´·¢ÏÖ²¢Ì½²â¿¨¡£
           ¶ÔÓÚ²»Í¬µÄÓ²¼þ£¬Çý¶¯³ÌÐò¿ÉÄÜ»á×Ô¶¯·¢ÏÖÆäËû±ØÐèµÄ×ÊÔ´¡£PnPÉ豸µÄ
-          ËùÓÐ×ÊÔ´ÓÉPnP×ÓϵͳԤÏÈÉèÖã¬Òò´ËÇý¶¯³ÌÐò²»ÐèÒª×Ô¼º·¢ÏÖËüÃÇ¡£
+          ËùÓÐ×ÊÔ´ÓÉPnP×ÓϵͳԤÏÈÉèÖã¬Òò´ËÇý¶¯³ÌÐò²»ÐèÒª×Ô¼º·¢ÏÖËüÃÇ¡£</para>
+
         <para>
           ͨ³£·ÃÎÊÉ豸ËùÐèÒªµÄ×îÉÙÐÅÏ¢¾ÍÊǶ˿ںš£È»ºóijЩÉ豸ÔÊÐí´ÓÉ豸
           ÅäÖüĴæÆ÷ÖÐÈ¡µÃÆäÓàÐÅÏ¢£¨¾¡¹Ü²»ÊÇËùÓеÄÉ豸¶¼ÕâÑù£©¡£Òò´ËÊ×ÏÈ

Modified: projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/jail/chapter.sgml
==============================================================================
--- projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/jail/chapter.sgml	Sun Jun 24 08:48:24 2012	(r39112)
+++ projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/jail/chapter.sgml	Sun Jun 24 08:49:01 2012	(r39113)
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="GB2312" standalone="no"?>
 <!--
      The FreeBSD Documentation Project
      The FreeBSD Simplified Chinese Project

Modified: projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/kobj/chapter.sgml
==============================================================================
--- projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/kobj/chapter.sgml	Sun Jun 24 08:48:24 2012	(r39112)
+++ projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/kobj/chapter.sgml	Sun Jun 24 08:49:01 2012	(r39113)
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="GB2312" standalone="no"?>
 <!--
      The FreeBSD Documentation Project
      The FreeBSD Simplified Chinese Project

Modified: projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/locking/chapter.sgml
==============================================================================
--- projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/locking/chapter.sgml	Sun Jun 24 08:48:24 2012	(r39112)
+++ projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/locking/chapter.sgml	Sun Jun 24 08:49:01 2012	(r39113)
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="GB2312" standalone="no"?>
 <!--
      The FreeBSD Documentation Project
      The FreeBSD SMP Next Generation Project
@@ -33,7 +34,7 @@
    ¶ÔÓÚΪÊý²»¶àµÄÈô¸É¸ö±äÁ¿£¬¼ÙÈç×ÜÊÇʹÓÃÔ­×Ó²Ù×÷·ÃÎÊËüÃÇ£¬ÕâЩ±äÁ¿¾Í¿ÉÒԵõ½±£»¤¡£
    <tip><title>ÒëÕß×¢</title><para>½ö¶Á±¾ÕÂÄÚÈÝ£¬»¹²»×ãÒÔÕÒ³ö<quote>mutex</quote>
    ºÍ<quote>¹²Ïí»¥³âËø</quote>µÄÇø±ð¡£ËƺõËüÃǵŦÄÜÓÐÖصþÖ®´¦£¬
-   Ç°Õ߱ȺóÕߵŦÄÜÑ¡Ïî¸ü¶à¡£ËüÃÇËƺõ¶¼ÊÇ&man.lockmgr.9;µÄ×Ó¼¯¡£<para></tip></para>
+   Ç°Õ߱ȺóÕߵŦÄÜÑ¡Ïî¸ü¶à¡£ËüÃÇËƺõ¶¼ÊÇ&man.lockmgr.9;µÄ×Ó¼¯¡£</para></tip></para>
 
   <sect1 id="locking-mutexes">
     <title>Mutex</title>

Modified: projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/mac.ent
==============================================================================
--- projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/mac.ent	Sun Jun 24 08:48:24 2012	(r39112)
+++ projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/mac.ent	Sun Jun 24 08:49:01 2012	(r39113)
@@ -1,11 +1,12 @@
+<?xml version="1.0" encoding="GB2312"?>
 <!-- Original Revision: 1.4
 $FreeBSD$ -->
 
 <!ENTITY mac.mpo "mpo">
 <!ENTITY mac.thead '
-  <colspec colname="first" colwidth="0">
-  <colspec colwidth="0">
-  <colspec colname="last" colwidth="0">
+  <colspec colname="first" colwidth="0"/>
+  <colspec colwidth="0"/>
+  <colspec colname="last" colwidth="0"/>
 
   <thead>
     <row>

Modified: projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/mac/chapter.sgml
==============================================================================
--- projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/mac/chapter.sgml	Sun Jun 24 08:48:24 2012	(r39112)
+++ projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/mac/chapter.sgml	Sun Jun 24 08:49:01 2012	(r39113)
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="GB2312" standalone="no"?>
 <!--
     Copyright (c) 2002-2005 Networks Associates Technology, Inc.
     All rights reserved.
@@ -269,6 +270,7 @@
       <para>Ϊ±ÜÃâÎ¥·´ÄÚºËÉÏËø´ÎÐò»òÔì³ÉµÝ¹éÉÏËø£¬²ßÂÔÄ£¿éÔÚµ÷ÓÃÆäËûÄÚºË×Óϵͳ֮ǰ£¬Í¨³£ÒªÊÍ·ÅËùÓÐÔÚ²ßÂÔÄÚ²¿ÉêÇëµÄËø¡£
        ÕâÑù×öµÄ½á¹ûÊÇ£¬ÔÚÈ«¾ÖÉÏËø´ÎÐòÐγɵÄÍØÆӽṹÖУ¬²ßÂÔÄÚ²¿µÄËø×ÜÊÇ×÷ΪҶ×ӽڵ㣬
        ´Ó¶ø±£Ö¤ÁËÕâЩËøµÄʹÓò»»áµ¼ÖÂÓÉÓÚÉÏËø´ÎÐò»ìÂÒÔì³ÉµÄËÀËø¡£</para>
+    </sect2>
 
     <sect2 id="mac-framework-kernel-arch-registration">
       <title>²ßÂÔ×¢²á</title>
@@ -2415,7 +2417,7 @@
               <tbody>
                 <row>
                   <entry namest="first" nameend="last">¼û <xref
-                    linkend="mac-mpo-create-mount">.</entry>
+                    linkend="mac-mpo-create-mount"/>.</entry>
                 </row>
               </tbody>
             </tgroup>
@@ -5723,7 +5725,7 @@
               <row>
                 <entry><parameter>cred</parameter></entry>
                 <entry morerows="2">See
-                  <xref linkend="mac-mpo-check-vnode-mmap">.</entry>
+                  <xref linkend="mac-mpo-check-vnode-mmap"/>.</entry>
               </row>
 
               <row>

Modified: projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/newbus/chapter.sgml
==============================================================================
--- projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/newbus/chapter.sgml	Sun Jun 24 08:48:24 2012	(r39112)
+++ projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/newbus/chapter.sgml	Sun Jun 24 08:49:01 2012	(r39113)
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="GB2312" standalone="no"?>
 <!--
 	The FreeBSD Documentation Project
 	The FreeBSD Simplified Chinese Project

Modified: projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/pccard/chapter.sgml
==============================================================================
--- projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/pccard/chapter.sgml	Sun Jun 24 08:48:24 2012	(r39112)
+++ projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/pccard/chapter.sgml	Sun Jun 24 08:49:01 2012	(r39113)
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="GB2312" standalone="no"?>
 <!--
      The FreeBSD Documentation Project
      The FreeBSD Simplified Chinese Project

Modified: projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/pci/chapter.sgml
==============================================================================
--- projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/pci/chapter.sgml	Sun Jun 24 08:48:24 2012	(r39112)
+++ projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/pci/chapter.sgml	Sun Jun 24 08:49:01 2012	(r39113)
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="GB2312" standalone="no"?>
 <!--
      The FreeBSD Documentation Project
      The FreeBSD Simplified Chinese Project

Modified: projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/scsi/chapter.sgml
==============================================================================
--- projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/scsi/chapter.sgml	Sun Jun 24 08:48:24 2012	(r39112)
+++ projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/scsi/chapter.sgml	Sun Jun 24 08:49:01 2012	(r39113)
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="GB2312" standalone="no"?>
 <!--
      The FreeBSD Documentation Project
      The FreeBSD Simplified Chinese Project
@@ -1101,9 +1102,10 @@
       ÏÖÓÐÇý¶¯³ÌÐò·µ»Øµ±Ç°ÉèÖã©ËùÇëÇó¶øµÃµÄÊý¾ÝÌî³äCCBʵÀý
       <quote>struct ccb_trans_setting cts</quote>. </para></listitem>
 
-    <indexterm><primary>BIOS(»ù±¾ÊäÈëÊä³öϵͳ, Basic Input Output System)</primary></indexterm>
+    <listitem>
+      <indexterm><primary>BIOS(»ù±¾ÊäÈëÊä³öϵͳ, Basic Input Output System)</primary></indexterm>
 
-    <listitem><para><emphasis>XPT_CALC_GEOMETRY</emphasis> - 
+      <para><emphasis>XPT_CALC_GEOMETRY</emphasis> - 
       ¼ÆËã´ÅÅ̵ÄÂß¼­£¨BIOS£©½á¹¹(geometry)</para>
 
     <para>²ÎÁ¿ÔÚÁªºÏccbµÄʵÀý<quote>struct ccb_calc_geometry ccg</quote>

Modified: projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/smp/chapter.sgml
==============================================================================
--- projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/smp/chapter.sgml	Sun Jun 24 08:48:24 2012	(r39112)
+++ projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/smp/chapter.sgml	Sun Jun 24 08:49:01 2012	(r39113)
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="GB2312" standalone="no"?>
 <!--
      The FreeBSD Documentation Project
      The FreeBSD SMP Next Generation Project
@@ -63,7 +64,7 @@
       Õâ°üÀ¨»¥³âÌå(mutex)¡¢ ¹²Ïí/ÅÅËûËø(shared/exclusive lock)¡¢
       ÐźÅÁ¿(semaphores) ºÍÌõ¼þ±äÁ¿(condition variable)¡£
       Èç¹ûÏ£ÍûÁ˽âËüÃÇÒÔ¼°ÆäËü SMP ÊõÓ
-      Çë²ÎÔı¾ÎÄµÄ <xref linkend="smp-glossary"> Ò»½Ú¡£</para>
+      Çë²ÎÔı¾ÎÄµÄ <xref linkend="smp-glossary"/> Ò»½Ú¡£</para>
   </sect1>
 
   <sect1 id="smp-lock-fundamentals">

Modified: projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/sound/chapter.sgml
==============================================================================
--- projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/sound/chapter.sgml	Sun Jun 24 08:48:24 2012	(r39112)
+++ projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/sound/chapter.sgml	Sun Jun 24 08:49:01 2012	(r39113)
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="GB2312" standalone="no"?>
 <!--
      The FreeBSD Documentation Project
      The FreeBSD Simplified Chinese Project
@@ -272,12 +273,12 @@
           
           <programlisting>          static void *
           xxxchannel_init(kobj_t obj, void *data, 
-             struct snd_dbuf *b, struct pcm_channel *c, int dir)<co id="co-chinit-params">
+             struct snd_dbuf *b, struct pcm_channel *c, int dir)<co id="co-chinit-params"/>
           {
               struct xxx_info *sc = data;
               struct xxx_chinfo *ch;
                ...
-              return ch;<co id="co-chinit-return">
+              return ch;<co id="co-chinit-return"/>
            }</programlisting>
 
         <calloutlist>
@@ -317,7 +318,7 @@
 	  Ìض¨ÉùÒô¸ñʽÉèÖÃÓ²¼þ¡£</para>
           
           <programlisting>          static int
-          xxxchannel_setformat(kobj_t obj, void *data, u_int32_t format)<co id="co-chsetformat-params">
+          xxxchannel_setformat(kobj_t obj, void *data, u_int32_t format)<co id="co-chsetformat-params"/>
           {
               struct xxx_chinfo *ch = data;
                ...
@@ -367,7 +368,7 @@
           {
               struct xxx_chinfo *ch = data;
                 ...
-              return blocksize;<co id="co-chsetblocksize-return">
+              return blocksize;<co id="co-chsetblocksize-return"/>
            }</programlisting>
 
         <calloutlist>
@@ -389,7 +390,7 @@
           </para> 
           
         <programlisting>          static int
-          xxxchannel_trigger(kobj_t obj, void *data, int go)<co id="co-chtrigger-params">
+          xxxchannel_trigger(kobj_t obj, void *data, int go)<co id="co-chtrigger-params"/>
           {
               struct xxx_chinfo *ch = data;
                ...
@@ -460,7 +461,7 @@
         <programlisting>          struct pcmchan_caps *
           xxxchannel_getcaps(kobj_t obj, void *data)
           {
-              return &amp;xxx_caps;<co id="co-chgetcaps-return">
+              return &amp;xxx_caps;<co id="co-chgetcaps-return"/>
            }</programlisting>
 
         <calloutlist>
@@ -508,7 +509,7 @@
 
               [³õʼ»¯Ó²¼þ]
 
-              [Ϊ²¥·Å»ìÒôÆ÷ÉèÖÃvÖÐÊʵ±µÄλ]<co id="co-mxini-sd">
+              [Ϊ²¥·Å»ìÒôÆ÷ÉèÖÃvÖÐÊʵ±µÄλ]<co id="co-mxini-sd"/>
               mix_setdevs(m, v);
               [Ϊ¼Òô»ìÒôÆ÷ÉèÖÃvÖÐÊʵ±µÄλ]
               mix_setrecdevs(m, v)
@@ -539,11 +540,11 @@
 
         <programlisting>          static int
           xxxmixer_set(struct snd_mixer *m, unsigned dev, 
-                           unsigned left, unsigned right)<co id="co-mxset-params">
+                           unsigned left, unsigned right)<co id="co-mxset-params"/>
           {
               struct sc_info *sc = mix_getdevinfo(m);
               [ÉèÖÃÒôÁ¿¼¶±ð(level)]
-              return left | (right &lt;&lt; 8);<co id="co-mxset-return">
+              return left | (right &lt;&lt; 8);<co id="co-mxset-return"/>
           }</programlisting>
 
         <calloutlist>
@@ -567,14 +568,14 @@
           </para>
           
         <programlisting>          static int
-          xxxmixer_setrecsrc(struct snd_mixer *m, u_int32_t src)<co id="co-mxsr-params">
+          xxxmixer_setrecsrc(struct snd_mixer *m, u_int32_t src)<co id="co-mxsr-params"/>
           {
               struct xxx_info *sc = mix_getdevinfo(m);
 
               [²é¿´srcÖеķÇÁãλ, ÉèÖÃÓ²¼þ]
 
               [¸üÐÂsrc·´Ó³Êµ¼Ê¶¯×÷]
-              return src;<co id="co-mxsr-return">
+              return src;<co id="co-mxsr-return"/>
            }</programlisting>
 
         <calloutlist>

Modified: projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/sysinit/chapter.sgml
==============================================================================
--- projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/sysinit/chapter.sgml	Sun Jun 24 08:48:24 2012	(r39112)
+++ projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/sysinit/chapter.sgml	Sun Jun 24 08:49:01 2012	(r39113)
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="GB2312" standalone="no"?>
 <!--
      The FreeBSD Documentation Project
      The FreeBSD Simplified Chinese Project

Modified: projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/usb/chapter.sgml
==============================================================================
--- projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/usb/chapter.sgml	Sun Jun 24 08:48:24 2012	(r39112)
+++ projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/usb/chapter.sgml	Sun Jun 24 08:49:01 2012	(r39113)
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="GB2312" standalone="no"?>
 <!--
      The FreeBSD Documentation Project
      The FreeBSD Simplified Chinese Project

Modified: projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/vm/chapter.sgml
==============================================================================
--- projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/vm/chapter.sgml	Sun Jun 24 08:48:24 2012	(r39112)
+++ projects/sgml2xml/zh_CN.GB2312/books/arch-handbook/vm/chapter.sgml	Sun Jun 24 08:49:01 2012	(r39113)
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="GB2312" standalone="no"?>
 <!--
      The FreeBSD Documentation Project
      The FreeBSD Simplified Chinese Project

Modified: projects/sgml2xml/zh_CN.GB2312/books/handbook/Makefile
==============================================================================
--- projects/sgml2xml/zh_CN.GB2312/books/handbook/Makefile	Sun Jun 24 08:48:24 2012	(r39112)
+++ projects/sgml2xml/zh_CN.GB2312/books/handbook/Makefile	Sun Jun 24 08:49:01 2012	(r39113)
@@ -208,7 +208,6 @@ SRCS+= audit/chapter.sgml
 SRCS+= book.sgml
 SRCS+= colophon.sgml
 SRCS+= dtrace/chapter.sgml
-SRCS+= freebsd-glossary.sgml
 SRCS+= advanced-networking/chapter.sgml
 SRCS+= basics/chapter.sgml
 SRCS+= bibliography/chapter.sgml
@@ -273,9 +272,9 @@ DOC_PREFIX?=	${.CURDIR}/../../..
 #
 # rules generating lists of mirror site from XML database.
 #
-XMLDOCS=	mirrors-ftp:::mirrors.sgml.ftp.inc.tmp \
-		mirrors-cvsup:::mirrors.sgml.cvsup.inc.tmp \
-		eresources:::eresources.sgml.www.inc.tmp
+XMLDOCS=	mirrors-ftp:::mirrors.sgml.ftp.inc \
+		mirrors-cvsup:::mirrors.sgml.cvsup.inc \
+		eresources:::eresources.sgml.www.inc
 DEPENDSET.DEFAULT=	transtable mirror
 XSLT.DEFAULT=		${XSL_MIRRORS}
 XML.DEFAULT=		${XML_MIRRORS}
@@ -295,18 +294,8 @@ SRCS+=		mirrors.sgml.ftp.inc \
 		mirrors.sgml.cvsup.inc \
 		eresources.sgml.www.inc
 
-CLEANFILES+=	mirrors.sgml.ftp.inc mirrors.sgml.ftp.inc.tmp \
-		mirrors.sgml.cvsup.inc mirrors.sgml.cvsup.inc.tmp \
-		eresources.sgml.www.inc eresources.sgml.www.inc.tmp
+CLEANFILES+=	mirrors.sgml.ftp.inc \
+		mirrors.sgml.cvsup.inc \
+		eresources.sgml.www.inc
 
 .include "${DOC_PREFIX}/share/mk/doc.project.mk"
-
-.for p in ftp cvsup
-mirrors.sgml.${p}.inc: mirrors.sgml.${p}.inc.tmp
-	${SED} -e 's,<\([^ >]*\)\([^>]*\)/>,<\1\2></\1>,;s,</anchor>,,'\
-	    < $@.tmp > $@ || (${RM} -f $@ && false)
-.endfor
-
-eresources.sgml.www.inc: eresources.sgml.www.inc.tmp
-	${SED} -e 's,<\([^ >]*\)\([^>]*\)/>,<\1\2></\1>,;s,</anchor>,,'\
-	    < $@.tmp > $@ || (${RM} -f $@ && false)

Modified: projects/sgml2xml/zh_CN.GB2312/books/handbook/advanced-networking/chapter.sgml
==============================================================================
--- projects/sgml2xml/zh_CN.GB2312/books/handbook/advanced-networking/chapter.sgml	Sun Jun 24 08:48:24 2012	(r39112)
+++ projects/sgml2xml/zh_CN.GB2312/books/handbook/advanced-networking/chapter.sgml	Sun Jun 24 08:49:01 2012	(r39113)
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="GB2312" standalone="no"?>
 <!--
      The FreeBSD Documentation Project
      The FreeBSD Chinese Documentation Project
@@ -68,11 +69,11 @@
 
       <listitem>
 	<para>Á˽âÈçºÎÅäÖúͰ²×°Ð嵀 FreeBSD ÄÚºË
-          (<xref linkend="kernelconfig">)¡£</para>
+          (<xref linkend="kernelconfig"/>)¡£</para>

*** DIFF OUTPUT TRUNCATED AT 1000 LINES ***


More information about the svn-doc-projects mailing list