René's URL Explorer Experiment


Title: PHP: SimpleXML Functions - Manual

X Title: PHP: SimpleXML Functions - Manual

Open Graph Description: SimpleXML Functions

X Description: SimpleXML Functions

X: @official_php

direct link

Domain: php.net

DescriptionSimpleXML Functions
twitter:cardsummary_large_image
twitter:creator@official_php
twitter:image:srchttps://www.php.net/images/meta-image.png
Nonehttps://www.php.net/images/meta-image.png
og:imagehttps://www.php.net/images/meta-image.png

Links:

update page nowhttps://php.net/x-myracloud-5958a2bbbed300a9b9ac631223924e0b/1768212234.449
https://php.net/
Downloads https://php.net/downloads.php
Documentation https://php.net/docs.php
Get Involved https://php.net/get-involved.php
Help https://php.net/support.php
https://php.net/releases/8.5/index.php
https://php.net/lookup-form.php
https://php.net/menu.php
Getting Startedhttps://php.net/manual/en/getting-started.php
Introductionhttps://php.net/manual/en/introduction.php
A simple tutorialhttps://php.net/manual/en/tutorial.php
Language Referencehttps://php.net/manual/en/langref.php
Basic syntaxhttps://php.net/manual/en/language.basic-syntax.php
Typeshttps://php.net/manual/en/language.types.php
Variableshttps://php.net/manual/en/language.variables.php
Constantshttps://php.net/manual/en/language.constants.php
Expressionshttps://php.net/manual/en/language.expressions.php
Operatorshttps://php.net/manual/en/language.operators.php
Control Structureshttps://php.net/manual/en/language.control-structures.php
Functionshttps://php.net/manual/en/language.functions.php
Classes and Objectshttps://php.net/manual/en/language.oop5.php
Namespaceshttps://php.net/manual/en/language.namespaces.php
Enumerationshttps://php.net/manual/en/language.enumerations.php
Errorshttps://php.net/manual/en/language.errors.php
Exceptionshttps://php.net/manual/en/language.exceptions.php
Fibershttps://php.net/manual/en/language.fibers.php
Generatorshttps://php.net/manual/en/language.generators.php
Attributeshttps://php.net/manual/en/language.attributes.php
References Explainedhttps://php.net/manual/en/language.references.php
Predefined Variableshttps://php.net/manual/en/reserved.variables.php
Predefined Exceptionshttps://php.net/manual/en/reserved.exceptions.php
Predefined Interfaces and Classeshttps://php.net/manual/en/reserved.interfaces.php
Predefined Attributeshttps://php.net/manual/en/reserved.attributes.php
Context options and parametershttps://php.net/manual/en/context.php
Supported Protocols and Wrappershttps://php.net/manual/en/wrappers.php
Securityhttps://php.net/manual/en/security.php
Introductionhttps://php.net/manual/en/security.intro.php
General considerationshttps://php.net/manual/en/security.general.php
Installed as CGI binaryhttps://php.net/manual/en/security.cgi-bin.php
Installed as an Apache modulehttps://php.net/manual/en/security.apache.php
Session Securityhttps://php.net/manual/en/security.sessions.php
Filesystem Securityhttps://php.net/manual/en/security.filesystem.php
Database Securityhttps://php.net/manual/en/security.database.php
Error Reportinghttps://php.net/manual/en/security.errors.php
User Submitted Datahttps://php.net/manual/en/security.variables.php
Hiding PHPhttps://php.net/manual/en/security.hiding.php
Keeping Currenthttps://php.net/manual/en/security.current.php
Featureshttps://php.net/manual/en/features.php
HTTP authentication with PHPhttps://php.net/manual/en/features.http-auth.php
Cookieshttps://php.net/manual/en/features.cookies.php
Sessionshttps://php.net/manual/en/features.sessions.php
Handling file uploadshttps://php.net/manual/en/features.file-upload.php
Using remote fileshttps://php.net/manual/en/features.remote-files.php
Connection handlinghttps://php.net/manual/en/features.connection-handling.php
Persistent Database Connectionshttps://php.net/manual/en/features.persistent-connections.php
Command line usagehttps://php.net/manual/en/features.commandline.php
Garbage Collectionhttps://php.net/manual/en/features.gc.php
DTrace Dynamic Tracinghttps://php.net/manual/en/features.dtrace.php
Function Referencehttps://php.net/manual/en/funcref.php
Affecting PHP's Behaviourhttps://php.net/manual/en/refs.basic.php.php
Audio Formats Manipulationhttps://php.net/manual/en/refs.utilspec.audio.php
Authentication Serviceshttps://php.net/manual/en/refs.remote.auth.php
Command Line Specific Extensionshttps://php.net/manual/en/refs.utilspec.cmdline.php
Compression and Archive Extensionshttps://php.net/manual/en/refs.compression.php
Cryptography Extensionshttps://php.net/manual/en/refs.crypto.php
Database Extensionshttps://php.net/manual/en/refs.database.php
Date and Time Related Extensionshttps://php.net/manual/en/refs.calendar.php
File System Related Extensionshttps://php.net/manual/en/refs.fileprocess.file.php
Human Language and Character Encoding Supporthttps://php.net/manual/en/refs.international.php
Image Processing and Generationhttps://php.net/manual/en/refs.utilspec.image.php
Mail Related Extensionshttps://php.net/manual/en/refs.remote.mail.php
Mathematical Extensionshttps://php.net/manual/en/refs.math.php
Non-Text MIME Outputhttps://php.net/manual/en/refs.utilspec.nontext.php
Process Control Extensionshttps://php.net/manual/en/refs.fileprocess.process.php
Other Basic Extensionshttps://php.net/manual/en/refs.basic.other.php
Other Serviceshttps://php.net/manual/en/refs.remote.other.php
Search Engine Extensionshttps://php.net/manual/en/refs.search.php
Server Specific Extensionshttps://php.net/manual/en/refs.utilspec.server.php
Session Extensionshttps://php.net/manual/en/refs.basic.session.php
Text Processinghttps://php.net/manual/en/refs.basic.text.php
Variable and Type Related Extensionshttps://php.net/manual/en/refs.basic.vartype.php
Web Serviceshttps://php.net/manual/en/refs.webservice.php
Windows Only Extensionshttps://php.net/manual/en/refs.utilspec.windows.php
XML Manipulationhttps://php.net/manual/en/refs.xml.php
GUI Extensionshttps://php.net/manual/en/refs.ui.php
simplexml_import_dom » https://php.net/function.simplexml-import-dom.php
« SimpleXMLIterator https://php.net/class.simplexmliterator.php
PHP Manualhttps://php.net/index.php
Function Referencehttps://php.net/funcref.php
XML Manipulationhttps://php.net/refs.xml.php
SimpleXMLhttps://php.net/book.simplexml.php
simplexml_import_domhttps://php.net/function.simplexml-import-dom.php
simplexml_load_filehttps://php.net/function.simplexml-load-file.php
simplexml_load_stringhttps://php.net/function.simplexml-load-string.php
Learn How To Improve This Pagehttps://github.com/php/doc-base/blob/master/README.md
Submit a Pull Requesthttps://github.com/php/doc-en/blob/master/reference/simplexml/reference.xml
Report a Bughttps://github.com/php/doc-en/issues/new?body=From%20manual%20page:%20https:%2F%2Fphp.net%2Fref.simplexml%0A%0A---
+add a notehttps://php.net/manual/add-note.php?sect=ref.simplexml&repo=en&redirect=https://www.php.net/manual/en/ref.simplexml.php
uphttps://php.net/manual/vote-note.php?id=103351&page=ref.simplexml&vote=up
downhttps://php.net/manual/vote-note.php?id=103351&page=ref.simplexml&vote=down
help :-) @ theapotek :-) comhttps://php.net/ref.simplexml.php#103351
https://php.net/ref.simplexml.php#103351
uphttps://php.net/manual/vote-note.php?id=77380&page=ref.simplexml&vote=up
downhttps://php.net/manual/vote-note.php?id=77380&page=ref.simplexml&vote=down
cmsa at gmx dot dehttps://php.net/ref.simplexml.php#77380
https://php.net/ref.simplexml.php#77380
uphttps://php.net/manual/vote-note.php?id=112710&page=ref.simplexml&vote=up
downhttps://php.net/manual/vote-note.php?id=112710&page=ref.simplexml&vote=down
William Fahriahttps://php.net/ref.simplexml.php#112710
https://php.net/ref.simplexml.php#112710
uphttps://php.net/manual/vote-note.php?id=52583&page=ref.simplexml&vote=up
downhttps://php.net/manual/vote-note.php?id=52583&page=ref.simplexml&vote=down
paul at preinheimer dot comhttps://php.net/ref.simplexml.php#52583
https://php.net/ref.simplexml.php#52583
uphttps://php.net/manual/vote-note.php?id=113179&page=ref.simplexml&vote=up
downhttps://php.net/manual/vote-note.php?id=113179&page=ref.simplexml&vote=down
brandonkirsch at gmail dot comhttps://php.net/ref.simplexml.php#113179
https://php.net/ref.simplexml.php#113179
uphttps://php.net/manual/vote-note.php?id=112038&page=ref.simplexml&vote=up
downhttps://php.net/manual/vote-note.php?id=112038&page=ref.simplexml&vote=down
r dot m dot 0100101 at gmail dot comhttps://php.net/ref.simplexml.php#112038
https://php.net/ref.simplexml.php#112038
http://www.php.net/manual/en/ref.simplexml.php#103617http://www.php.net/manual/en/ref.simplexml.php#103617
uphttps://php.net/manual/vote-note.php?id=80176&page=ref.simplexml&vote=up
downhttps://php.net/manual/vote-note.php?id=80176&page=ref.simplexml&vote=down
andrvmhttps://php.net/ref.simplexml.php#80176
https://php.net/ref.simplexml.php#80176
http://ru2.php.net/manual/ru/ref.simplexml.phphttp://ru2.php.net/manual/ru/ref.simplexml.php
uphttps://php.net/manual/vote-note.php?id=52512&page=ref.simplexml&vote=up
downhttps://php.net/manual/vote-note.php?id=52512&page=ref.simplexml&vote=down
T CHASSAGNETTE t_chassagnette at yahoo dot frhttps://php.net/ref.simplexml.php#52512
https://php.net/ref.simplexml.php#52512
uphttps://php.net/manual/vote-note.php?id=111227&page=ref.simplexml&vote=up
downhttps://php.net/manual/vote-note.php?id=111227&page=ref.simplexml&vote=down
Erichttps://php.net/ref.simplexml.php#111227
https://php.net/ref.simplexml.php#111227
uphttps://php.net/manual/vote-note.php?id=81923&page=ref.simplexml&vote=up
downhttps://php.net/manual/vote-note.php?id=81923&page=ref.simplexml&vote=down
ngkongs at gmail dot comhttps://php.net/ref.simplexml.php#81923
https://php.net/ref.simplexml.php#81923
uphttps://php.net/manual/vote-note.php?id=66259&page=ref.simplexml&vote=up
downhttps://php.net/manual/vote-note.php?id=66259&page=ref.simplexml&vote=down
daniel dot oconnor at gmail dot comhttps://php.net/ref.simplexml.php#66259
https://php.net/ref.simplexml.php#66259
http://openoffice.org/2001/manifesthttp://openoffice.org/2001/manifest
http://openoffice.org/2001/manifesthttp://openoffice.org/2001/manifest
http://openoffice.org/2001/manifesthttp://openoffice.org/2001/manifest
uphttps://php.net/manual/vote-note.php?id=92034&page=ref.simplexml&vote=up
downhttps://php.net/manual/vote-note.php?id=92034&page=ref.simplexml&vote=down
Douglas Marshhttps://php.net/ref.simplexml.php#92034
https://php.net/ref.simplexml.php#92034
http://www.example.com/dchttp://www.example.com/dc
http://www.example.com/cchttp://www.example.com/cc
http://www.example.com/rdfhttp://www.example.com/rdf
http://www.example.com/svghttp://www.example.com/svg
http://www.example.com/http://www.example.com/
http://www.example.com/sodipodihttp://www.example.com/sodipodi
http://www.example.com/inkscapehttp://www.example.com/inkscape
uphttps://php.net/manual/vote-note.php?id=79258&page=ref.simplexml&vote=up
downhttps://php.net/manual/vote-note.php?id=79258&page=ref.simplexml&vote=down
onPHP5.comhttps://php.net/ref.simplexml.php#79258
https://php.net/ref.simplexml.php#79258
uphttps://php.net/manual/vote-note.php?id=48646&page=ref.simplexml&vote=up
downhttps://php.net/manual/vote-note.php?id=48646&page=ref.simplexml&vote=down
brcavanagh AT NO SPAM hotmail.comhttps://php.net/ref.simplexml.php#48646
https://php.net/ref.simplexml.php#48646
uphttps://php.net/manual/vote-note.php?id=73362&page=ref.simplexml&vote=up
downhttps://php.net/manual/vote-note.php?id=73362&page=ref.simplexml&vote=down
joel [from the website] purerave.comhttps://php.net/ref.simplexml.php#73362
https://php.net/ref.simplexml.php#73362
uphttps://php.net/manual/vote-note.php?id=70519&page=ref.simplexml&vote=up
downhttps://php.net/manual/vote-note.php?id=70519&page=ref.simplexml&vote=down
Arnaud Bienvenuhttps://php.net/ref.simplexml.php#70519
https://php.net/ref.simplexml.php#70519
http://bugs.php.net/bug.php?id=39164http://bugs.php.net/bug.php?id=39164
uphttps://php.net/manual/vote-note.php?id=106829&page=ref.simplexml&vote=up
downhttps://php.net/manual/vote-note.php?id=106829&page=ref.simplexml&vote=down
julien dot breiner at laposte dot nethttps://php.net/ref.simplexml.php#106829
https://php.net/ref.simplexml.php#106829
uphttps://php.net/manual/vote-note.php?id=50470&page=ref.simplexml&vote=up
downhttps://php.net/manual/vote-note.php?id=50470&page=ref.simplexml&vote=down
nelson_menezes at yahoo dot co dot ukhttps://php.net/ref.simplexml.php#50470
https://php.net/ref.simplexml.php#50470
http://bugs.php.net/bug.php?id=28154http://bugs.php.net/bug.php?id=28154
uphttps://php.net/manual/vote-note.php?id=103617&page=ref.simplexml&vote=up
downhttps://php.net/manual/vote-note.php?id=103617&page=ref.simplexml&vote=down
k dot antczak at livedata dot plhttps://php.net/ref.simplexml.php#103617
https://php.net/ref.simplexml.php#103617
uphttps://php.net/manual/vote-note.php?id=85414&page=ref.simplexml&vote=up
downhttps://php.net/manual/vote-note.php?id=85414&page=ref.simplexml&vote=down
james dot ellis at gmail dot comhttps://php.net/ref.simplexml.php#85414
https://php.net/ref.simplexml.php#85414
http://www.ibm.com/developerworks/library/x-pullparsingphp.htmlhttp://www.ibm.com/developerworks/library/x-pullparsingphp.html
http://code.google.com/p/protobuf/http://code.google.com/p/protobuf/
uphttps://php.net/manual/vote-note.php?id=83378&page=ref.simplexml&vote=up
downhttps://php.net/manual/vote-note.php?id=83378&page=ref.simplexml&vote=down
m0sh3 at hotmail dot comhttps://php.net/ref.simplexml.php#83378
https://php.net/ref.simplexml.php#83378
uphttps://php.net/manual/vote-note.php?id=73817&page=ref.simplexml&vote=up
downhttps://php.net/manual/vote-note.php?id=73817&page=ref.simplexml&vote=down
codje2 at lboro dot ac dot ukhttps://php.net/ref.simplexml.php#73817
https://php.net/ref.simplexml.php#73817
uphttps://php.net/manual/vote-note.php?id=77134&page=ref.simplexml&vote=up
downhttps://php.net/manual/vote-note.php?id=77134&page=ref.simplexml&vote=down
karsten dot bruch at bms-verlage dot dehttps://php.net/ref.simplexml.php#77134
https://php.net/ref.simplexml.php#77134
uphttps://php.net/manual/vote-note.php?id=78683&page=ref.simplexml&vote=up
downhttps://php.net/manual/vote-note.php?id=78683&page=ref.simplexml&vote=down
lordi at msdi dot cahttps://php.net/ref.simplexml.php#78683
https://php.net/ref.simplexml.php#78683
uphttps://php.net/manual/vote-note.php?id=76894&page=ref.simplexml&vote=up
downhttps://php.net/manual/vote-note.php?id=76894&page=ref.simplexml&vote=down
anthony dot parsons at manx dot nethttps://php.net/ref.simplexml.php#76894
https://php.net/ref.simplexml.php#76894
uphttps://php.net/manual/vote-note.php?id=73407&page=ref.simplexml&vote=up
downhttps://php.net/manual/vote-note.php?id=73407&page=ref.simplexml&vote=down
php at NOSPAM dot coutch dot comhttps://php.net/ref.simplexml.php#73407
https://php.net/ref.simplexml.php#73407
uphttps://php.net/manual/vote-note.php?id=70950&page=ref.simplexml&vote=up
downhttps://php.net/manual/vote-note.php?id=70950&page=ref.simplexml&vote=down
matt at mattbostock dot comhttps://php.net/ref.simplexml.php#70950
https://php.net/ref.simplexml.php#70950
uphttps://php.net/manual/vote-note.php?id=123408&page=ref.simplexml&vote=up
downhttps://php.net/manual/vote-note.php?id=123408&page=ref.simplexml&vote=down
Pyetro Costa [pyetrosafe at gmail dot com]https://php.net/ref.simplexml.php#123408
https://php.net/ref.simplexml.php#123408
http://www.php.net/manual/en/ref.simplexml.php#103617http://www.php.net/manual/en/ref.simplexml.php#103617
http://php.net/manual/en/ref.simplexml.phphttp://php.net/manual/en/ref.simplexml.php
uphttps://php.net/manual/vote-note.php?id=106876&page=ref.simplexml&vote=up
downhttps://php.net/manual/vote-note.php?id=106876&page=ref.simplexml&vote=down
thomas at guenneguez dot comhttps://php.net/ref.simplexml.php#106876
https://php.net/ref.simplexml.php#106876
uphttps://php.net/manual/vote-note.php?id=81048&page=ref.simplexml&vote=up
downhttps://php.net/manual/vote-note.php?id=81048&page=ref.simplexml&vote=down
philippe_marc_--a---t--_novartis_comhttps://php.net/ref.simplexml.php#81048
https://php.net/ref.simplexml.php#81048
http://bugs.php.net/bug.php?id=38604http://bugs.php.net/bug.php?id=38604
uphttps://php.net/manual/vote-note.php?id=74172&page=ref.simplexml&vote=up
downhttps://php.net/manual/vote-note.php?id=74172&page=ref.simplexml&vote=down
php at werner dash ott dot dehttps://php.net/ref.simplexml.php#74172
https://php.net/ref.simplexml.php#74172
uphttps://php.net/manual/vote-note.php?id=66896&page=ref.simplexml&vote=up
downhttps://php.net/manual/vote-note.php?id=66896&page=ref.simplexml&vote=down
Jason Sheets https://php.net/ref.simplexml.php#66896
https://php.net/ref.simplexml.php#66896
uphttps://php.net/manual/vote-note.php?id=82323&page=ref.simplexml&vote=up
downhttps://php.net/manual/vote-note.php?id=82323&page=ref.simplexml&vote=down
nathan at gimpstraw dot comhttps://php.net/ref.simplexml.php#82323
https://php.net/ref.simplexml.php#82323
uphttps://php.net/manual/vote-note.php?id=92272&page=ref.simplexml&vote=up
downhttps://php.net/manual/vote-note.php?id=92272&page=ref.simplexml&vote=down
Andrez zenarter at hotmail dot comhttps://php.net/ref.simplexml.php#92272
https://php.net/ref.simplexml.php#92272
uphttps://php.net/manual/vote-note.php?id=91057&page=ref.simplexml&vote=up
downhttps://php.net/manual/vote-note.php?id=91057&page=ref.simplexml&vote=down
codejunky32 at NOSPAM dot comhttps://php.net/ref.simplexml.php#91057
https://php.net/ref.simplexml.php#91057
uphttps://php.net/manual/vote-note.php?id=91561&page=ref.simplexml&vote=up
downhttps://php.net/manual/vote-note.php?id=91561&page=ref.simplexml&vote=down
info at ajaxforum dot ruhttps://php.net/ref.simplexml.php#91561
https://php.net/ref.simplexml.php#91561
http://www.ajaxforum.ru/http://www.ajaxforum.ru/
uphttps://php.net/manual/vote-note.php?id=123407&page=ref.simplexml&vote=up
downhttps://php.net/manual/vote-note.php?id=123407&page=ref.simplexml&vote=down
Pyetro Costa [pyetrosafe at gmail dot com]https://php.net/ref.simplexml.php#123407
https://php.net/ref.simplexml.php#123407
http://php.net/manual/en/ref.simplexml.php#112038http://php.net/manual/en/ref.simplexml.php#112038
http://php.net/manual/en/ref.simplexml.php#112038http://php.net/manual/en/ref.simplexml.php#112038
+add a notehttps://php.net/manual/add-note.php?sect=ref.simplexml&repo=en&redirect=https://www.php.net/manual/en/ref.simplexml.php
SimpleXMLhttps://php.net/book.simplexml.php
Introductionhttps://php.net/intro.simplexml.php
Installing/Configuringhttps://php.net/simplexml.setup.php
Exampleshttps://php.net/simplexml.examples.php
SimpleXMLElementhttps://php.net/class.simplexmlelement.php
SimpleXMLIteratorhttps://php.net/class.simplexmliterator.php
SimpleXML Functionshttps://php.net/ref.simplexml.php
Copyright © 2001-2026 The PHP Documentation Grouphttps://php.net/manual/en/copyright.php
My PHP.nethttps://php.net/my.php
Contacthttps://php.net/contact.php
Other PHP.net siteshttps://php.net/sites.php
Privacy policyhttps://php.net/privacy.php
javascript:;

Viewport: width=device-width, initial-scale=1.0


URLs of crawlers that visited me.