On Tue, May 8, 2012 at 7:50 PM, Michelle Konzack <linux4michelle@xxxxxxxxxxxxxxx> wrote: > Hello *, > > I have to implement an interface which must access a Domain-Registration > API. From the manual I have for example: > > ----8<------------------------------------------------------------------ > Example 2.8. Contact Update:valid(change password) > > Change password from multipass to green > > REQUEST: > > Generic Operation: POST(http://backend.example.com/bdom/contact/update/DOJOB0001/1/,xml) > > Where xml: > > <?xml version="1.0" encoding="UTF-8"?> > <request xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> > <type>PERS</type> > <sex>MALE</sex> > <first-name>Otto</first-name> > <last-name>Normalverbraucher</last-name> > <organisation>Acme Gmbh</organisation> > <street>Main Strasse</street> > <number>13</number> > <postcode>555555</postcode> > <city>Newe Stad</city> > <country>DE</country> > <phone>+040.0123456789</phone> > <fax>+040.0123456789</fax> > <email>hans@xxxxxxxxxx</email> > <password>new_secret</password> > </request> > > > RESPONSE: > > <response>1 updated</response> > ----8<------------------------------------------------------------------ > > The problem is (I am sitting on my line) that I do not understand how > to send this XML stuff. > > Any hints please? > > Thanks, Greetings and nice Day/Evening > Michelle Konzack > Try one of the available XML classes that are included in PHP [1]. Both XMLWriter [2] and SimpleXML [3] will do the job. - Matijn [1] www.php.net/XML [2] www.php.net/XMLWriter [3] www.php.net/SimpleXML -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php