Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > by-pkgid > 05cd670d8a02b2b4a0ffb1756f2e8308 > files > 11005

php-manual-zh-5.2.4-1mdv2008.1.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML
><HEAD
><TITLE
>XMLWriter Functions</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
REL="HOME"
TITLE="PHP 手册"
HREF="index.html"><LINK
REL="UP"
TITLE="函数参考"
HREF="funcref.html"><LINK
REL="PREVIOUS"
TITLE="XMLReader::XML"
HREF="function.xmlreader-xml.html"><LINK
REL="NEXT"
TITLE="XMLWriter::endAttribute"
HREF="function.xmlwriter-end-attribute.html"><META
HTTP-EQUIV="Content-type"
CONTENT="text/html; charset=UTF-8"></HEAD
><BODY
CLASS="reference"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>PHP 手册</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="function.xmlreader-xml.html"
ACCESSKEY="P"
>上一页</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="function.xmlwriter-end-attribute.html"
ACCESSKEY="N"
>下一页</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="reference"
><A
NAME="ref.xmlwriter"
></A
><DIV
CLASS="TITLEPAGE"
><H1
CLASS="title"
>CLXXXII. XMLWriter Functions</H1
><DIV
CLASS="PARTINTRO"
><A
NAME="AEN243339"
></A
><DIV
CLASS="section"
><H1
CLASS="section"
><A
NAME="xmlwriter.intro"
>简介</A
></H1
><P
>&#13;    This is the XMLWriter extension. It wraps the libxml xmlWriter API. 
   </P
><P
>&#13;    This extension represents a writer that provides a non-cached, 
    forward-only means of generating streams or files containing XML data.
   </P
><P
>&#13;    This extension can be used in an object oriented style or a procedural
    one. Every method documented describes the alternative procedural call.
   </P
></DIV
><DIV
CLASS="section"
><H1
CLASS="section"
><A
NAME="xmlwriter.classes"
>预定义类</A
></H1
><P
>&#13;    </P
><DIV
CLASS="section"
><H2
CLASS="section"
><A
NAME="xmlwriter.class.xmlwriter"
><B
CLASS="classname"
>XMLWriter</B
></A
></H2
><P
>&#13;      </P
><DIV
CLASS="section"
><H3
CLASS="section"
><A
NAME="xmlreader.class.xmlwriter.methods"
>方法</A
></H3
><P
></P
><UL
><LI
><P
><A
HREF="function.xmlwriter-end-attribute.html"
>XMLWriter::endAttribute</A
> - End attribute</P
></LI
><LI
><P
><A
HREF="function.xmlwriter-end-cdata.html"
>XMLWriter::endCData</A
> - End current CDATA</P
></LI
><LI
><P
><A
HREF="function.xmlwriter-end-comment.html"
>XMLWriter::endComment</A
> - Create end comment</P
></LI
><LI
><P
><A
HREF="function.xmlwriter-end-document.html"
>XMLWriter::endDocument</A
> - End current document</P
></LI
><LI
><P
><A
HREF="function.xmlwriter-end-dtd-attlist.html"
>XMLWriter::endDTDAttlist</A
> - End current DTD AttList</P
></LI
><LI
><P
><A
HREF="function.xmlwriter-end-dtd-element.html"
>XMLWriter::endDTDElement</A
> - End current DTD element</P
></LI
><LI
><P
><A
HREF="function.xmlwriter-end-dtd-entity.html"
>XMLWriter::endDTDEntity</A
> - End current DTD Entity</P
></LI
><LI
><P
><A
HREF="function.xmlwriter-end-dtd.html"
>XMLWriter::endDTD</A
> - End current DTD</P
></LI
><LI
><P
><A
HREF="function.xmlwriter-end-element.html"
>XMLWriter::endElement</A
> - End current element</P
></LI
><LI
><P
><A
HREF="function.xmlwriter-end-pi.html"
>XMLWriter::endPI</A
> - End current PI</P
></LI
><LI
><P
><A
HREF="function.xmlwriter-flush.html"
>XMLWriter::flush</A
> - Flush current buffer</P
></LI
><LI
><P
><A
HREF="function.xmlwriter-full-end-element.html"
>XMLWriter::fullEndElement</A
> - End current element</P
></LI
><LI
><P
><A
HREF="function.xmlwriter-open-memory.html"
>XMLWriter::openMemory</A
> - Create new xmlwriter using memory for string output</P
></LI
><LI
><P
><A
HREF="function.xmlwriter-open-uri.html"
>XMLWriter::openURI</A
> - Create new xmlwriter using source uri for output</P
></LI
><LI
><P
><A
HREF="function.xmlwriter-output-memory.html"
>XMLWriter::outputMemory</A
> - Returns current buffer</P
></LI
><LI
><P
><A
HREF="function.xmlwriter-set-indent-string.html"
>XMLWriter::setIndentString</A
> - Set string used for indenting</P
></LI
><LI
><P
><A
HREF="function.xmlwriter-set-indent.html"
>XMLWriter::setIndent</A
> - Toggle indentation on/off</P
></LI
><LI
><P
><A
HREF="function.xmlwriter-start-attribute-ns.html"
>XMLWriter::startAttributeNS</A
> - Create start namespaced attribute</P
></LI
><LI
><P
><A
HREF="function.xmlwriter-start-attribute.html"
>XMLWriter::startAttribute</A
> - Create start attribute</P
></LI
><LI
><P
><A
HREF="function.xmlwriter-start-cdata.html"
>XMLWriter::startCData</A
> - Create start CDATA tag</P
></LI
><LI
><P
><A
HREF="function.xmlwriter-start-comment.html"
>XMLWriter::startComment</A
> - Create start comment</P
></LI
><LI
><P
><A
HREF="function.xmlwriter-start-document.html"
>XMLWriter::startDocument</A
> - Create document tag</P
></LI
><LI
><P
><A
HREF="function.xmlwriter-start-dtd-attlist.html"
>XMLWriter::startDTDAttlist</A
> - Create start DTD AttList</P
></LI
><LI
><P
><A
HREF="function.xmlwriter-start-dtd-element.html"
>XMLWriter::startDTDElement</A
> - Create start DTD element</P
></LI
><LI
><P
><A
HREF="function.xmlwriter-start-dtd-entity.html"
>XMLWriter::startDTDEntity</A
> - Create start DTD Entity</P
></LI
><LI
><P
><A
HREF="function.xmlwriter-start-dtd.html"
>XMLWriter::startDTD</A
> - Create start DTD tag</P
></LI
><LI
><P
><A
HREF="function.xmlwriter-start-element-ns.html"
>XMLWriter::startElementNS</A
> - Create start namespaced element tag</P
></LI
><LI
><P
><A
HREF="function.xmlwriter-start-element.html"
>XMLWriter::startElement</A
> - Create start element tag</P
></LI
><LI
><P
><A
HREF="function.xmlwriter-start-pi.html"
>XMLWriter::startPI</A
> - Create start PI tag</P
></LI
><LI
><P
><A
HREF="function.xmlwriter-text.html"
>XMLWriter::text</A
> - Write text</P
></LI
><LI
><P
><A
HREF="function.xmlwriter-write-attribute-ns.html"
>XMLWriter::writeAttributeNS</A
> - Write full namespaced attribute</P
></LI
><LI
><P
><A
HREF="function.xmlwriter-write-attribute.html"
>XMLWriter::writeAttribute</A
> - Write full attribute</P
></LI
><LI
><P
><A
HREF="function.xmlwriter-write-cdata.html"
>XMLWriter::writeCData</A
> - Write full CDATA tag</P
></LI
><LI
><P
><A
HREF="function.xmlwriter-write-comment.html"
>XMLWriter::writeComment</A
> - Write full comment tag</P
></LI
><LI
><P
><A
HREF="function.xmlwriter-write-dtd-attlist.html"
>XMLWriter::writeDTDAttlist</A
> - Write full DTD AttList tag</P
></LI
><LI
><P
><A
HREF="function.xmlwriter-write-dtd-element.html"
>XMLWriter::writeDTDElement</A
> - Write full DTD element tag</P
></LI
><LI
><P
><A
HREF="function.xmlwriter-write-dtd-entity.html"
>XMLWriter::writeDTDEntity</A
> - Write full DTD Entity tag</P
></LI
><LI
><P
><A
HREF="function.xmlwriter-write-dtd.html"
>XMLWriter::writeDTD</A
> - Write full DTD tag</P
></LI
><LI
><P
><A
HREF="function.xmlwriter-write-element-ns.html"
>XMLWriter::writeElementNS</A
> - Write full namesapced element tag</P
></LI
><LI
><P
><A
HREF="function.xmlwriter-write-element.html"
>XMLWriter::writeElement</A
> - Write full element tag</P
></LI
><LI
><P
><A
HREF="function.xmlwriter-write-pi.html"
>XMLWriter::writePI</A
> - Writes a PI</P
></LI
><LI
><P
><A
HREF="function.xmlwriter-write-raw.html"
>XMLWriter::writeRaw</A
> - Write a raw XML text</P
></LI
></UL
></DIV
></DIV
></DIV
><DIV
CLASS="section"
><H1
CLASS="section"
><A
NAME="xmlwriter.resources"
>资源类型</A
></H1
><P
>&#13;    There is one resource used by the procedural version of the XMLWriter 
    extension: returned by <A
HREF="function.xmlwriter-open-memory.html"
><B
CLASS="function"
>xmlwriter_open_memory()</B
></A
> or 
    <A
HREF="function.xmlwriter-open-uri.html"
><B
CLASS="function"
>xmlwriter_open_uri()</B
></A
>.
   </P
></DIV
><DIV
CLASS="section"
><H1
CLASS="section"
><A
NAME="xmlwriter.constants"
>预定义常量</A
></H1
><P
>本扩展模块未定义任何常量。</P
></DIV
></DIV
><DIV
CLASS="TOC"
><DL
><DT
><B
>目录</B
></DT
><DT
><A
HREF="function.xmlwriter-end-attribute.html"
>XMLWriter::endAttribute</A
>&nbsp;--&nbsp;End attribute</DT
><DT
><A
HREF="function.xmlwriter-end-cdata.html"
>XMLWriter::endCData</A
>&nbsp;--&nbsp;End current CDATA</DT
><DT
><A
HREF="function.xmlwriter-end-comment.html"
>XMLWriter::endComment</A
>&nbsp;--&nbsp;Create end comment</DT
><DT
><A
HREF="function.xmlwriter-end-document.html"
>XMLWriter::endDocument</A
>&nbsp;--&nbsp;End current document</DT
><DT
><A
HREF="function.xmlwriter-end-dtd-attlist.html"
>XMLWriter::endDTDAttlist</A
>&nbsp;--&nbsp;End current DTD AttList</DT
><DT
><A
HREF="function.xmlwriter-end-dtd-element.html"
>XMLWriter::endDTDElement</A
>&nbsp;--&nbsp;End current DTD element</DT
><DT
><A
HREF="function.xmlwriter-end-dtd-entity.html"
>XMLWriter::endDTDEntity</A
>&nbsp;--&nbsp;End current DTD Entity</DT
><DT
><A
HREF="function.xmlwriter-end-dtd.html"
>XMLWriter::endDTD</A
>&nbsp;--&nbsp;End current DTD</DT
><DT
><A
HREF="function.xmlwriter-end-element.html"
>XMLWriter::endElement</A
>&nbsp;--&nbsp;End current element</DT
><DT
><A
HREF="function.xmlwriter-end-pi.html"
>XMLWriter::endPI</A
>&nbsp;--&nbsp;End current PI</DT
><DT
><A
HREF="function.xmlwriter-flush.html"
>XMLWriter::flush</A
>&nbsp;--&nbsp;Flush current buffer</DT
><DT
><A
HREF="function.xmlwriter-full-end-element.html"
>XMLWriter::fullEndElement</A
>&nbsp;--&nbsp;End current element</DT
><DT
><A
HREF="function.xmlwriter-open-memory.html"
>XMLWriter::openMemory</A
>&nbsp;--&nbsp;Create new xmlwriter using memory for string output</DT
><DT
><A
HREF="function.xmlwriter-open-uri.html"
>XMLWriter::openURI</A
>&nbsp;--&nbsp;Create new xmlwriter using source uri for output</DT
><DT
><A
HREF="function.xmlwriter-output-memory.html"
>XMLWriter::outputMemory</A
>&nbsp;--&nbsp;Returns current buffer</DT
><DT
><A
HREF="function.xmlwriter-set-indent-string.html"
>XMLWriter::setIndentString</A
>&nbsp;--&nbsp;Set string used for indenting</DT
><DT
><A
HREF="function.xmlwriter-set-indent.html"
>XMLWriter::setIndent</A
>&nbsp;--&nbsp;Toggle indentation on/off</DT
><DT
><A
HREF="function.xmlwriter-start-attribute-ns.html"
>XMLWriter::startAttributeNS</A
>&nbsp;--&nbsp;Create start namespaced attribute</DT
><DT
><A
HREF="function.xmlwriter-start-attribute.html"
>XMLWriter::startAttribute</A
>&nbsp;--&nbsp;Create start attribute</DT
><DT
><A
HREF="function.xmlwriter-start-cdata.html"
>XMLWriter::startCData</A
>&nbsp;--&nbsp;Create start CDATA tag</DT
><DT
><A
HREF="function.xmlwriter-start-comment.html"
>XMLWriter::startComment</A
>&nbsp;--&nbsp;Create start comment</DT
><DT
><A
HREF="function.xmlwriter-start-document.html"
>XMLWriter::startDocument</A
>&nbsp;--&nbsp;Create document tag</DT
><DT
><A
HREF="function.xmlwriter-start-dtd-attlist.html"
>XMLWriter::startDTDAttlist</A
>&nbsp;--&nbsp;Create start DTD AttList</DT
><DT
><A
HREF="function.xmlwriter-start-dtd-element.html"
>XMLWriter::startDTDElement</A
>&nbsp;--&nbsp;Create start DTD element</DT
><DT
><A
HREF="function.xmlwriter-start-dtd-entity.html"
>XMLWriter::startDTDEntity</A
>&nbsp;--&nbsp;Create start DTD Entity</DT
><DT
><A
HREF="function.xmlwriter-start-dtd.html"
>XMLWriter::startDTD</A
>&nbsp;--&nbsp;Create start DTD tag</DT
><DT
><A
HREF="function.xmlwriter-start-element-ns.html"
>XMLWriter::startElementNS</A
>&nbsp;--&nbsp;Create start namespaced element tag</DT
><DT
><A
HREF="function.xmlwriter-start-element.html"
>XMLWriter::startElement</A
>&nbsp;--&nbsp;Create start element tag</DT
><DT
><A
HREF="function.xmlwriter-start-pi.html"
>XMLWriter::startPI</A
>&nbsp;--&nbsp;Create start PI tag</DT
><DT
><A
HREF="function.xmlwriter-text.html"
>XMLWriter::text</A
>&nbsp;--&nbsp;Write text</DT
><DT
><A
HREF="function.xmlwriter-write-attribute-ns.html"
>XMLWriter::writeAttributeNS</A
>&nbsp;--&nbsp;Write full namespaced attribute</DT
><DT
><A
HREF="function.xmlwriter-write-attribute.html"
>XMLWriter::writeAttribute</A
>&nbsp;--&nbsp;Write full attribute</DT
><DT
><A
HREF="function.xmlwriter-write-cdata.html"
>XMLWriter::writeCData</A
>&nbsp;--&nbsp;Write full CDATA tag</DT
><DT
><A
HREF="function.xmlwriter-write-comment.html"
>XMLWriter::writeComment</A
>&nbsp;--&nbsp;Write full comment tag</DT
><DT
><A
HREF="function.xmlwriter-write-dtd-attlist.html"
>XMLWriter::writeDTDAttlist</A
>&nbsp;--&nbsp;Write full DTD AttList tag</DT
><DT
><A
HREF="function.xmlwriter-write-dtd-element.html"
>XMLWriter::writeDTDElement</A
>&nbsp;--&nbsp;Write full DTD element tag</DT
><DT
><A
HREF="function.xmlwriter-write-dtd-entity.html"
>XMLWriter::writeDTDEntity</A
>&nbsp;--&nbsp;Write full DTD Entity tag</DT
><DT
><A
HREF="function.xmlwriter-write-dtd.html"
>XMLWriter::writeDTD</A
>&nbsp;--&nbsp;Write full DTD tag</DT
><DT
><A
HREF="function.xmlwriter-write-element-ns.html"
>XMLWriter::writeElementNS</A
>&nbsp;--&nbsp;Write full namesapced element tag</DT
><DT
><A
HREF="function.xmlwriter-write-element.html"
>XMLWriter::writeElement</A
>&nbsp;--&nbsp;Write full element tag</DT
><DT
><A
HREF="function.xmlwriter-write-pi.html"
>XMLWriter::writePI</A
>&nbsp;--&nbsp;Writes a PI</DT
><DT
><A
HREF="function.xmlwriter-write-raw.html"
>XMLWriter::writeRaw</A
>&nbsp;--&nbsp;Write a raw XML text</DT
></DL
></DIV
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="function.xmlreader-xml.html"
ACCESSKEY="P"
>上一页</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>起始页</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="function.xmlwriter-end-attribute.html"
ACCESSKEY="N"
>下一页</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>XMLReader::XML</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="funcref.html"
ACCESSKEY="U"
>上一级</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>XMLWriter::endAttribute</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>