Toggle navigation
HOME
plus2net HOME
SQL
JavaScript
HTML
Python
ASP
jQuery
C
PhotoShop
PHP
PHP Home
Beginners guide
Loops
Date
Form
Array
String
Math
Mail
File - directory
curl
PHP & XML
GD: graphs
Calendar
Filters
PHP MySQL
PDO
MySQLi
Session
Scripts
PDF Generation
XML
XML
getName()
Children
Count
SimpleXMLElement
simplexml_load_file
simplexml_load_string
Write to File
addAttribute
addChild
getNamespace
Database to XML
Submit
Login
×
Login
Username
Password
Login
Contact Us
PHP & XML
PHP XML Functions
SimpleXMLElement
Name of the XML tag from the object
getName
Name of the XML tag from the object
children()
child node details
Application of XML files
dropdown list
Create dropdown list box by using data from XML file
File from Database
Creating XML file by using records from MySQL table
RSS feed
Generating RSS feed by using Link and descriptions of webpages
Sample XML files
file-xml-demo.xml
Sample XML file
xml-sample1.php
Creating XML string by PHP
php-xml-loadstring.php
Creating XML string with name space by PHP
xml-sample3.xml
With attributes having name & value
←
Subscribe to our YouTube Channel here
This article is written by
plus2net.com
team.
https://www.plus2net.com
Subscribe
*
indicates required
Email Address
*
First Name
Last Name
Subscribe to plus2net
plus2net.com
PHP & XML
getName()
: Name of the XML element or tag
children()
: Children of a XML node
count()
: Counting number of Children of an XML element
simplexml_load_file()
: creating object by reading from XML file
simplexml_load_string()
: creating object by using XML formatted string
asXML
: Getting string output or writing to file
addAttribute()
: Adding attribute to element of XML object
addChild()
: Adding Child element to element of XML object
getNamespaces()
: Getting NameSpaces from XML object
XML from Database()
: Generating XML from table records
Post your comments , suggestion , error , requirements etc here .
Detail
✖
We use cookies to improve your browsing experience. .
Learn more
HTML
MySQL
PHP
JavaScript
ASP
Photoshop
Articles
FORUM
.
Contact us
©
2000-2022
plus2net.com
All rights reserved worldwide
Privacy Policy
Disclaimer