File tree Expand file tree Collapse file tree 1 file changed +29
-1
lines changed
reference/xmlwriter/functions Expand file tree Collapse file tree 1 file changed +29
-1
lines changed Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<!-- $Revision$ -->
3
- <!-- EN-Revision: 60294d6f9208a28d66112876a4fc8f73952a6d16 Maintainer: takagi Status: ready -->
3
+ <!-- EN-Revision: cf57aac89a03becf0764feac5ed0db71b431583c Maintainer: takagi Status: ready -->
4
4
<!-- Generated by xml_proto.php v2.4. Found in /scripts directory of phpdoc. -->
5
5
<!-- Credits: mumumu -->
6
6
<refentry xml : id =" function.xmlwriter-open-uri" xmlns =" http://docbook.org/ns/docbook" >
53
53
</para >
54
54
</refsect1 >
55
55
56
+ <refsect1 role =" examples" >
57
+ &reftitle.examples;
58
+ <example xml : id =" xmlwriter-open-uri.example.basic" >
59
+ <title >XML を直接出力する</title >
60
+ <para >
61
+ <link linkend =" wrappers.php.output" >php://output ストリームラッパー</link >
62
+ を使えば、直接XMLを出力することが出来ます。
63
+ </para >
64
+ <programlisting role =" php" >
65
+ <![CDATA[
66
+ <?php
67
+ $out =new XMLWriter();
68
+ $out->openURI('php://output');
69
+ ?>
70
+ ]]>
71
+ </programlisting >
72
+ </example >
73
+ </refsect1 >
74
+
75
+ <refsect1 role =" notes" >
76
+ &reftitle.notes;
77
+ <note >
78
+ <para >
79
+ Windows では、この関数を使って開いたファイルは writer が解放されるまでロックされます。
80
+ </para >
81
+ </note >
82
+ </refsect1 >
83
+
56
84
<refsect1 role =" seealso" >
57
85
&reftitle.seealso;
58
86
<para >
You can’t perform that action at this time.
0 commit comments