lundi 29 juin 2015

how i would add new book information on book.xml file using javascript or jquery

I wanted to insert new record for employee on in employee.xml as I am taking XML file as my database.

manager.xml:

<?xml version="1.0"?>
<Employees>
    <Employee>
        <Id>1</Id>
        <EmployeeId>EMP001</EmployeeId>
        <Name>Thirumalai</Name>
        <Role>Architect</Role>
    </Employee>
</Employees>

I wanted to add new employee with an id of EMP002, name of John and Role of manager in mamaanger.xml file.

Aucun commentaire:

Enregistrer un commentaire