philip          Thu Aug  2 03:06:52 2007 UTC

  Modified files:              
    /phpdoc/scripts     xml_proto.php 
  Log:
  DocBook 5 Update
  
  
http://cvs.php.net/viewvc.cgi/phpdoc/scripts/xml_proto.php?r1=1.51&r2=1.52&diff_format=u
Index: phpdoc/scripts/xml_proto.php
diff -u phpdoc/scripts/xml_proto.php:1.51 phpdoc/scripts/xml_proto.php:1.52
--- phpdoc/scripts/xml_proto.php:1.51   Thu Apr  5 04:22:45 2007
+++ phpdoc/scripts/xml_proto.php        Thu Aug  2 03:06:52 2007
@@ -16,7 +16,7 @@
   | Authors:   Brad House <[EMAIL PROTECTED]>                             |
   +----------------------------------------------------------------------+
  
-  $Id: xml_proto.php,v 1.51 2007/04/05 04:22:45 philip Exp $
+  $Id: xml_proto.php,v 1.52 2007/08/02 03:06:52 philip Exp $
 */
 
 /*
@@ -144,19 +144,19 @@
        '<!-- $'.'Revision: 1.1 $ -->'."\n" .
        "<!-- Purpose:  -->\n" .
        "<!-- Membership:  -->\n" .
-       "<reference id=\"ref." . $extension_name . "\">\n" .
+       "<reference xmlns=\"http://docbook.org/ns/docbook\"; xml:id=\"ref." . 
$extension_name . "\">\n" .
        " <title>$extension_name &Functions;</title>\n" .
        " <titleabbrev>$extension_name</titleabbrev>\n" .
        "\n" .
        " <partintro>\n" .
-       "  <section id=\"" . $extension_name . ".intro\">\n" .
+       "  <section xml:id=\"" . $extension_name . ".intro\">\n" .
        "   &reftitle.intro;\n" .
        "   <para>\n" .
        "    This is the " . $extension_name . " extension.  It\n" .
        "    currently only lists the proto definitions.\n" .
        "   </para>\n" .
        "  </section>\n" .
-       "  <section id=\"" . $extension_name . ".requirements\">\n" .
+       "  <section xml:id=\"" . $extension_name . ".requirements\">\n" .
        "   &reftitle.required;\n" .
        "   <para>\n" .
        "    To be written. For example what external libraries are required\n" 
.
@@ -166,7 +166,7 @@
        "  <!-- reference.".$extension_name.".configure; -->\n" .
        "  <!-- Information found in ini.xml -->\n" .
        "  <!-- reference.".$extension_name.".ini; -->\n\n" .
-       "  <section id=\"" . $extension_name . ".resources\">\n" .
+       "  <section xml:id=\"" . $extension_name . ".resources\">\n" .
        "   &reftitle.resources;\n" .
        "   <para>\n" .
        "    Type of resource types (link id, etc.) this extension returns.\n" .
@@ -227,7 +227,7 @@
 
     fwrite($fp, '<?xml version="1.0" encoding="iso-8859-1"?>'."\n" .
                '<!-- $'.'Revision: 1.1 $ -->'."\n" .
-               "<refentry id=\"function." . $fixname . "\">\n" .
+               "<refentry xmlns=\"http://docbook.org/ns/docbook\"; 
xml:id=\"function." . $fixname . "\">\n" .
                " <refnamediv>\n" .
                "  <refname>$funcname</refname>\n" .
                "  <refpurpose>$purpose</refpurpose>\n" .
@@ -505,7 +505,7 @@
 
   fwrite($fp, "<?xml version='1.0' encoding='iso-8859-1'?>\n" .
               "<!-- $" . "Revision: 1.1 $ -->\n" .
-               "<section id=\"" . $extension_name . ".constants\">\n" .
+               "<section xmlns=\"http://docbook.org/ns/docbook\"; xml:id=\"" . 
$extension_name . ".constants\">\n" .
                " &reftitle.constants;\n" .
                " &extension.constants;\n" .
                " <variablelist>\n");

Reply via email to