moriyoshi               Tue Dec 23 04:56:57 2003 EDT

  Modified files:              
    /phpdoc/en/reference/iconv/functions        iconv-mime-decode-headers.xml 
                                                iconv-mime-decode.xml 
                                                iconv-mime-encode.xml 
  Log:
  - Remove <para> around <example>. 
  - Replace all <para> within <example> to <simpara>
  
  
Index: phpdoc/en/reference/iconv/functions/iconv-mime-decode-headers.xml
diff -u phpdoc/en/reference/iconv/functions/iconv-mime-decode-headers.xml:1.3 
phpdoc/en/reference/iconv/functions/iconv-mime-decode-headers.xml:1.4
--- phpdoc/en/reference/iconv/functions/iconv-mime-decode-headers.xml:1.3       Mon 
Dec 22 17:23:09 2003
+++ phpdoc/en/reference/iconv/functions/iconv-mime-decode-headers.xml   Tue Dec 23 
04:56:57 2003
@@ -1,5 +1,5 @@
 <?xml version='1.0' encoding='iso-8859-1'?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
   <refentry id="function.iconv-mime-decode-headers">
    <refnamediv>
     <refname>iconv_mime_decode_headers</refname>
@@ -79,19 +79,17 @@
      will be used.
     </para>
 
-    <para>
-     <example>
-      <title><function>iconv_mime_decode_function</function> example</title>
-      <programlisting role="php">
-<![CDATA[
-<?php
-$headers_string = <<<EOF
+    <example>
+     <title><function>iconv_mime_decode_function</function> example</title>
+     <programlisting role="php">
+&lt;?php
+$headers_string = &lt;&lt;&lt;EOF
 Subject: =?UTF-8?B?UHLDvGZ1bmcgUHLDvGZ1bmc=?=
 To: [EMAIL PROTECTED]
 Date: Thu, 1 Jan 1970 00:00:00 +0000
-Message-Id: <[EMAIL PROTECTED]>
+Message-Id: &lt;[EMAIL PROTECTED]&gt;
 Received: from localhost (localhost [127.0.0.1]) by localhost
-       with SMTP id example for <[EMAIL PROTECTED]>;
+       with SMTP id example for &lt;[EMAIL PROTECTED]&gt;
        Thu, 1 Jan 1970 00:00:00 +0000 (UTC)
        (envelope-from [EMAIL PROTECTED])
 Received: (qmail 0 invoked by uid 65534); 1 Thu 2003 00:00:00 +0000
@@ -100,31 +98,27 @@
 
 $headers =  iconv_mime_decode_headers($headers_string, 0, "ISO-8859-1");
 print_r($headers);
-?>
-]]>
+?&gt;
       </programlisting>
-      <para>
+      <simpara>
        The output of this script should look like:
-      </para>
+      </simpara>
       <screen>
-<![CDATA[
 Array
 (
-    [Subject] => Pr&uuml;fung Pr&uuml;fung
-    [To] => [EMAIL PROTECTED]
-    [Date] => Thu, 1 Jan 1970 00:00:00 +0000
-    [Message-Id] => <[EMAIL PROTECTED]>
-    [Received] => Array
+    [Subject] =&gt; Pr&uuml;fung Pr&uuml;fung
+    [To] =&gt; [EMAIL PROTECTED]
+    [Date] =&gt; Thu, 1 Jan 1970 00:00:00 +0000
+    [Message-Id] =&gt; &lt;[EMAIL PROTECTED]&gt;
+    [Received] =&gt; Array
         (
-            [0] => from localhost (localhost [127.0.0.1]) by localhost with SMTP id 
example for <[EMAIL PROTECTED]>; Thu, 1 Jan 1970 00:00:00 +0000 (UTC) (envelope-from 
[EMAIL PROTECTED])
-            [1] => (qmail 0 invoked by uid 65534); 1 Thu 2003 00:00:00 +0000
+            [0] =&gt; from localhost (localhost [127.0.0.1]) by localhost with SMTP 
id example for &lt;[EMAIL PROTECTED]&gt;; Thu, 1 Jan 1970 00:00:00 +0000 (UTC) 
(envelope-from [EMAIL PROTECTED])
+            [1] =&gt; (qmail 0 invoked by uid 65534); 1 Thu 2003 00:00:00 +0000
         )
 
 )
-]]>
-      </screen>
-     </example>
-    </para>
+     </screen>
+    </example>
 
     <para>
      See also <function>iconv_mime_decode</function>,
Index: phpdoc/en/reference/iconv/functions/iconv-mime-decode.xml
diff -u phpdoc/en/reference/iconv/functions/iconv-mime-decode.xml:1.3 
phpdoc/en/reference/iconv/functions/iconv-mime-decode.xml:1.4
--- phpdoc/en/reference/iconv/functions/iconv-mime-decode.xml:1.3       Mon Dec 22 
15:19:34 2003
+++ phpdoc/en/reference/iconv/functions/iconv-mime-decode.xml   Tue Dec 23 04:56:57 
2003
@@ -1,5 +1,5 @@
 <?xml version='1.0' encoding='iso-8859-1'?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
 <!-- Generated by xml_proto.php v2.0. Found in /scripts directory of phpdoc. -->
   <refentry id="function.iconv-mime-decode">
    <refnamediv>
@@ -69,21 +69,16 @@
      will be used.
     </para>
 
-    <para>
-     <example>
-      <title><function>iconv_mime_decode</function> example</title>
-      <programlisting role="php">
-<![CDATA[
-<?php
+    <example>
+     <title><function>iconv_mime_decode</function> example</title>
+     <programlisting role="php">
+&gt;?php
 // This yields "Subject: Pr&uuml;fung Pr&uuml;fung"
 echo iconv_mime_decode("Subject: =?UTF-8?B?UHLDvGZ1bmcgUHLDvGZ1bmc=?=",
                        0, "ISO-8859-1");
-?>
-]]>
-      </programlisting>
-     </example>
-    </para>
-
+?&lt;
+     </programlisting>
+    </example>
     <para>
      See also <function>iconv_mime_decode_headers</function>,
      <function>imap_base64_decode</function>,
Index: phpdoc/en/reference/iconv/functions/iconv-mime-encode.xml
diff -u phpdoc/en/reference/iconv/functions/iconv-mime-encode.xml:1.3 
phpdoc/en/reference/iconv/functions/iconv-mime-encode.xml:1.4
--- phpdoc/en/reference/iconv/functions/iconv-mime-encode.xml:1.3       Mon Dec 22 
15:19:34 2003
+++ phpdoc/en/reference/iconv/functions/iconv-mime-encode.xml   Tue Dec 23 04:56:57 
2003
@@ -1,5 +1,5 @@
 <?xml version='1.0' encoding='iso-8859-1'?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
 <!-- Generated by xml_proto.php v2.0. Found in /scripts directory of phpdoc. -->
   <refentry id="function.iconv-mime-encode">
    <refnamediv>
@@ -121,12 +121,10 @@
      </table>
     </para>
 
-    <para>
-     <example>
+    <example>
       <title><function>iconv_mime_encode</function> example:</title>
       <programlisting role="php">
-<![CDATA[
-<?php
+&gt;?php
 $preferences = array(
        "input-charset" => "ISO-8859-1",
        "output-charset" => "UTF-8",
@@ -140,11 +138,9 @@
 $preferences["scheme"] = "B";
 // This yields "Subject: =?UTF-8?B?UHLDvGZ1bmcgUHLDvGZ1bmc=?="
 echo iconv_mime_encode("Subject", "Pr&uuml;fung Pr&uuml;fung", $preferences);
-?>
-]]>
-      </programlisting>
-     </example>
-    </para>
+?&lt;
+     </programlisting>
+    </example>
 
     <para>
      See also <function>imap_base64_encode</function>,

Reply via email to