下载
文档
参与
帮助
全栈开发网
基金会
Search docs
Getting Started
Introduction
A simple tutorial
Language Reference
Basic syntax
Types
Variables
Constants
Expressions
Operators
Control Structures
Functions
Classes and Objects
Namespaces
Enumerations
Errors
Exceptions
Fibers
Generators
Attributes
References Explained
Predefined Variables
Predefined Exceptions
Predefined Interfaces and Classes
Predefined Attributes
Context options and parameters
Supported Protocols and Wrappers
Security
Introduction
General considerations
Installed as CGI binary
Installed as an Apache module
Session Security
Filesystem Security
Database Security
Error Reporting
User Submitted Data
Hiding PHP
Keeping Current
Features
HTTP authentication with PHP
Cookies
Sessions
Handling file uploads
Using remote files
Connection handling
Persistent Database Connections
Command line usage
Garbage Collection
DTrace Dynamic Tracing
Function Reference
Affecting PHP's Behaviour
Audio Formats Manipulation
Authentication Services
Command Line Specific Extensions
Compression and Archive Extensions
Cryptography Extensions
Database Extensions
Date and Time Related Extensions
File System Related Extensions
Human Language and Character Encoding Support
Image Processing and Generation
Mail Related Extensions
Mathematical Extensions
Non-Text MIME Output
Process Control Extensions
Other Basic Extensions
Other Services
Search Engine Extensions
Server Specific Extensions
Session Extensions
Text Processing
Variable and Type Related Extensions
Web Services
Windows Only Extensions
XML Manipulation
GUI Extensions
Keyboard Shortcuts
?
This help
j
Next menu item
k
Previous menu item
g p
Previous man page
g n
Next man page
G
Scroll to bottom
g g
Scroll to top
g h
Goto homepage
g s
Goto search
(current page)
/
Focus search box
Introduction »
« XMLDiff\File::merge
PHP Manual
Function Reference
XML Manipulation
Change language:
English
German
Spanish
French
Italian
Japanese
Brazilian Portuguese
Russian
Turkish
Ukrainian
Chinese (Simplified)
Other
XML Parser
Introduction
Installing/Configuring
Requirements
Installation
Resource Types
Predefined Constants
Event Handlers
Case Folding
Error Codes
Character Encoding
Examples
XML Element Structure Example
XML Tag Mapping Example
XML External Entity Example
XML Parser Functions
xml_error_string
— Get XML parser error string
xml_get_current_byte_index
— Get current byte index for an XML parser
xml_get_current_column_number
— Get current column number for an XML parser
xml_get_current_line_number
— Get current line number for an XML parser
xml_get_error_code
— Get XML parser error code
xml_parse
— Start parsing an XML document
xml_parse_into_struct
— Parse XML data into an array structure
xml_parser_create
— Create an XML parser
xml_parser_create_ns
— Create an XML parser with namespace support
xml_parser_free
— Free an XML parser
xml_parser_get_option
— Get options from an XML parser
xml_parser_set_option
— Set options in an XML parser
xml_set_character_data_handler
— Set up character data handler
xml_set_default_handler
— Set up default handler
xml_set_element_handler
— Set up start and end element handlers
xml_set_end_namespace_decl_handler
— Set up end namespace declaration handler
xml_set_external_entity_ref_handler
— Set up external entity reference handler
xml_set_notation_decl_handler
— Set up notation declaration handler
xml_set_object
— Use XML Parser within an object
xml_set_processing_instruction_handler
— Set up processing instruction (PI) handler
xml_set_start_namespace_decl_handler
— Set up start namespace declaration handler
xml_set_unparsed_entity_decl_handler
— Set up unparsed entity declaration handler
XMLParser
— The XMLParser class
Improve This Page
Learn How To Improve This Page
•
Submit a Pull Request
•
Report a Bug
+
add a note
User Contributed Notes
There are no user contributed notes for this page.
↑
and
↓
to navigate •
Enter
to select •
Esc
to close
Press
Enter
without selection to search using Google