xml

Creating an XML in PHP using DOMDocument

In this tutorial you will learn how to create XML documents using PHP’s DOMDocument class.
First things first.There are 3 things that you should always keep in mind about XML. In short, XML has 3 main components.

Elements, which we also call nodes. e.g.

<name />

Attributes e.g

<name type="first"/>

Here type is an attribute.
Data/text nodes

<name type="first">Johnson</name>

[...]

Read the rest of this entry >>

php, xml
9,548 spam comments
blocked by
Akismet