[eluser]Zeeshan Rasool[/eluser]
Any body tell me is it fine XML syntax ?
Actually i am generating this XML file and if i open it, it gives error which is
Code:
XML Parsing Error: junk after document element
Location: http://www.mysite.com/myfile.xml
Line Number 14, Column 1:<filePath path="http://www.mysite.com/cms/stuff/gallery/"></filePath>
MY CODE IN XML FILE
Code:
<?xml version="1.0" encoding="UTF-8" ?>
<gallery>
<image picture="2.jpg" thumb="2.jpg" lab=''></image>
<image picture="1.jpg" thumb="1.jpg" lab=''></image>
<image picture="3.jpg" thumb="3.jpg" lab=''></image>
<image picture="4.jpg" thumb="4.jpg" lab=''></image>
<image picture="5.jpg" thumb="5.jpg" lab=''></image>
<image picture="6.jpg" thumb="6.jpg" lab=''></image>
<image picture="8.jpg" thumb="8.jpg" lab=''></image>
<image picture="7.jpg" thumb="7.jpg" lab=''></image>
<image picture="9.jpg" thumb="9.jpg" lab=''></image>
<image picture="10.jpg" thumb="10.jpg" lab=''></image>
</gallery>
<filePath path="http://www.mysite.com/cms/stuff/gallery/"></filePath>