From 7a7c1189f3509818636234ab3e0a1a5c00ef9cde Mon Sep 17 00:00:00 2001
From: edujugon <edujugon@gmail.com>
Date: Thu, 12 Apr 2018 12:44:06 +0200
Subject: [PATCH] Udpate readme file

---
 README.md | 42 +++++++++++++++++++++++++-----------------
 1 file changed, 25 insertions(+), 17 deletions(-)

diff --git a/README.md b/README.md
index 2d93155..5ca7e09 100644
--- a/README.md
+++ b/README.md
@@ -54,23 +54,6 @@ $mapper = XMLMapper::loadXML($xmlData);
 > Don't forget to use the facade use statement at the
 top of your class: `use Edujugon\XMLMapper\Facades\XMLMapper;`
 
-#### Replace tag names
-
-You can easily replace any tag name of the xml for an easier access.
-
-```php
-$mapper->replaceTagName(
-    [
-        'a10:author' => 'author',
-        'a10:name' => 'name',
-        'a10:updated' => 'updated'
-    ]
-);
-```
-
-The above snippet replaces all tags with names matching the keys and sets their values as new tag names.
-Also updates the underlying object based on the new xml.
-
 #### Get value
 
 > You must know the tags path. Otherwise you should use [findValue](https://github.com/edujugon/XMLMapper#find-value).
@@ -210,4 +193,29 @@ They can be combined
 ['id' => 1,['name','!=','john']]
 ```
 
+#### Replace tag names
+
+You can easily replace any tag name of the xml for an easier access.
+
+```php
+$mapper->replaceTagName(
+    [
+        'a10:author' => 'author',
+        'a10:name' => 'name',
+        'a10:updated' => 'updated'
+    ]
+);
+```
+
+The above snippet replaces all tags with names matching the keys and sets their values as new tag names.
+Also updates the underlying object based on the new xml.
+
+#### Merge a new xml into the existing one
+
+You can easily merge a new xml into the existing one just after a provided tag name.
+
+```php
+$mapper->mergeXML($newXml, 'desiredParentTag');
+```
+
 Enjoy :)
\ No newline at end of file