
- PHP Tutorial
- PHP - Home
- PHP - Introduction
- PHP - Environment Setup
- PHP - Syntax Overview
- PHP - Variable Types
- PHP - Constants
- PHP - Operator Types
- PHP - Decision Making
- PHP - Loop Types
- PHP - Arrays
- PHP - Strings
- PHP - Web Concepts
- PHP - GET & POST
- PHP - File Inclusion
- PHP - Files & I/O
- PHP - Functions
- PHP - Cookies
- PHP - Sessions
- PHP - Sending Emails
- PHP - File Uploading
- PHP - Coding Standard
- Advanced PHP
- PHP - Predefined Variables
- PHP - Regular Expression
- PHP - Error Handling
- PHP - Bugs Debugging
- PHP - Date & Time
- PHP & MySQL
- PHP & AJAX
- PHP & XML
- PHP - Object Oriented
- PHP - For C Developers
- PHP - For PERL Developers
- PHP Form Examples
- PHP - Form Introduction
- PHP - Validation Example
- PHP - Complete Form
- PHP login Examples
- PHP - Login Example
- PHP - Facebook Login
- PHP - Paypal Integration
- PHP - MySQL Login
- PHP AJAX Examples
- PHP - AJAX Search
- PHP - AJAX XML Parser
- PHP - AJAX Auto Complete Search
- PHP - AJAX RSS Feed Example
- PHP XML Example
- PHP - XML Introduction
- PHP - Simple XML
- PHP - Simple XML GET
- PHP - SAX Parser Example
- PHP - DOM Parser Example
- PHP Frame Works
- PHP - Frame Works
- PHP - Core PHP vs Frame Works
- PHP Design Patterns
- PHP - Design Patterns
- PHP Function Reference
- PHP - Built-In Functions
- PHP Useful Resources
- PHP - Questions & Answers
- PHP - Useful Resources
- PHP - Discussion
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
PHP - XML Writer Functions
XMLWriter extension internally has libxml xmlWriter API and is used to write/create the contents of an XML document. The XML documents generated by this are non-cached and forward-only.
Installation
This extension enable by default. Default command line for disable at compile time is --disable-xml
Runtime Configuration
This extension has no configuration directives defined in php.ini.
List of Functions
PHP − indicates the earliest version of PHP that supports the function.
Sr.No | Function & Description | PHP |
---|---|---|
1 | This function is used to end the current attribute tag. |
5 |
2 |
This function is used to end the current CDATA tag. |
5 |
3 |
This function is used to end the current comment tag. |
5 |
4 |
This function is used to create an end tag of the current document. |
5 |
5 |
This function is used to end the current DTD tag. |
5 |
6 |
This function is used to end the current DTD AttList tag. |
5 |
7 |
This function is used to end the current DTD element tag. |
5 |
8 |
This function is used to end the current DTD entity tag. |
5 |
9 |
This function ends the current element tag. |
5 |
10 |
This function is used to end the current PI tag. |
5 |
11 |
This function is used to flush the current buffer. |
5 |
12 |
This function is used to end the current element (even it is empty). |
5 |
13 |
This function is used to create a new xmlwriter using memory. |
5 |
14 |
This function creates a XMLWriter object for the specified file and returns it. |
5 |
15 |
This function returns the current buffer. |
5 |
16 |
This is used to set the indentation of the output XML document on/off. |
5 |
17 |
This function is used to specify the string that should be used as indentation for the output XML file. |
5 |
18 |
This function is used to create a start attribute tag. |
5 |
19 |
This function is used to create a start of the namespaced attribute tag. |
5 |
20 |
This function is used to create a start CDATA tag. |
5 |
21 |
This function is used to start a comment tag. |
5 |
22 |
This function is used to create a document start tag. |
5 |
23 |
This function is used to create a start of the DTD tag. |
5 |
24 |
This function is used to create a start tag of the DTD AttList. |
5 |
25 |
This function is used to start a DTD element tag. |
5 |
26 |
This function is used to create a DTD entity start tag. |
5 |
27 |
This function is used to create an element start tag. |
5 |
28 |
This function create a namespaced element start tag. |
5 |
29 |
This function is used to create a start PI tag. |
5 |
30 |
This function is used to write text in the current element. |
5 |
31 |
This function is used to create a full attribute. |
5 |
32 |
This function is used to create a complete namespaced attribute tag. |
5 |
33 |
This function is used to creates a full CDATA tag. |
5 |
34 |
This function is used to creates full comment tag. |
5 |
35 |
This function is used to create/write a full DTD tag. |
5 |
36 |
This function is used to create a full DTD AttList tag. |
5 |
37 |
This function is used to write/create a full DTD element tag. |
5 |
38 |
This function is used to create/write a full DTD entity tag. |
5 |
39 |
This function is used to create a full element tag. |
5 |
40 |
This function is used to create a full namespaced element tag. |
5 |
41 | This function is used to create full PI tag. |
5 |
42 |
This function is used to write a raw XML text. |
5 |