瀏覽代碼

[DOCUMENTATION] English: fixed CDATA position in programlisting

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@19452 44c647ce-9c0f-0410-b52a-842ac1e357ba
mikaelkael 16 年之前
父節點
當前提交
cf04fae3cb

+ 1 - 2
documentation/manual/en/module_specs/Zend_Http_Client-Advanced.xml

@@ -391,7 +391,6 @@ $client->setRawData($fp, 'application/zip')->request('PUT');
         <example id="zend.http.client.streaming.example-2">
         <example id="zend.http.client.streaming.example-2">
                 <title>Receiving file from HTTP server with streaming</title>
                 <title>Receiving file from HTTP server with streaming</title>
                 <programlisting language="php"><![CDATA[
                 <programlisting language="php"><![CDATA[
-]]>
 $client->setStreaming(); // will use temp file
 $client->setStreaming(); // will use temp file
 $response = $client->request('GET');
 $response = $client->request('GET');
 // copy file
 // copy file
@@ -401,7 +400,7 @@ $fp = fopen("my/downloads/file2", "w");
 stream_copy_to_stream($response->getStream(), $fp);
 stream_copy_to_stream($response->getStream(), $fp);
 // Also can write to known file
 // Also can write to known file
 $client->setStreaming("my/downloads/myfile)->request('GET');
 $client->setStreaming("my/downloads/myfile)->request('GET');
-</programlisting>
+]]></programlisting>
             </example>
             </example>
         </para>
         </para>
 
 

+ 2 - 2
documentation/manual/en/module_specs/Zend_Service_LiveDocx.xml

@@ -35,13 +35,13 @@
                     <emphasis>/demos/Zend/Service/LiveDocx</emphasis> of the Zend Framework
                     <emphasis>/demos/Zend/Service/LiveDocx</emphasis> of the Zend Framework
                     distribution file or trunk version, checked out of the standard SVN repository.
                     distribution file or trunk version, checked out of the standard SVN repository.
                     These are designed to get you up to speed with
                     These are designed to get you up to speed with
-                    <classname>Zend_Service_LiveDocx</classname> within a matter of minutes.                            
+                    <classname>Zend_Service_LiveDocx</classname> within a matter of minutes.
                 </para>
                 </para>
             </listitem>
             </listitem>
             <listitem>
             <listitem>
                 <para>
                 <para>
                     <ulink url="http://www.phplivedocx.org/">
                     <ulink url="http://www.phplivedocx.org/">
-                    <classname>Zend_Service_LiveDocx</classname> blog and web site</ulink>. 
+                    <classname>Zend_Service_LiveDocx</classname> blog and web site</ulink>.
                 </para>
                 </para>
             </listitem>
             </listitem>
             <listitem>
             <listitem>