note 96461 added to simplexml.examples

From: Date: Sun, 28 Feb 2010 20:55:24 +0000
Subject: note 96461 added to simplexml.examples
Groups: php.notes 
Request: Send a blank email to php-notes+get-166449@lists.php.net to get a copy of this message
How could I seperate Informations out of following XML File: <CustomerInfo CustomerID="40" CustomerJobName="Firma XY blanko #1903" CustomerOrderID="216"> <Contact ContactTypes="Customer"> <Company OrganizationName="Unspecified"/> <Person DescriptiveName=" "/> <Address> <ExtendedAddress></ExtendedAddress> </Address> <ComChannel ChannelType="Phone"/> <ComChannel ChannelType="Email"/> </Contact> <Contact ContactTypes="Delivery"> <Company OrganizationName="Firma XY GmbH"/> <Person DescriptiveName="Hans Mustermann " FirstName="Hans" FamilyName="Mustermann"/> <Address City="HMusterhausen" Street="Muster Weg 104-106" PostalCode="12345" Country="Germany"> <ExtendedAddress></ExtendedAddress> </Address> <ComChannel Locator="+ 49 123 45678" ChannelType="Phone"/> <ComChannel Locator="hans.mustermann@firmaxy.de" ChannelType="Email"/> </Contact> </CustomerInfo> For example, I need the information "HMusterhausen" coming out of <Address City .... Thanks for help! Joerg ---- Server IP: 69.147.83.197 Probable Submitter: 79.210.84.56 ---- Manual Page -- http://www.php.net/manual/en/simplexml.examples.php Edit -- https://master.php.net/note/edit/96461 Del: integrated -- https://master.php.net/note/delete/96461/integrated Del: useless -- https://master.php.net/note/delete/96461/useless Del: bad code -- https://master.php.net/note/delete/96461/bad+code Del: spam -- https://master.php.net/note/delete/96461/spam Del: non-english -- https://master.php.net/note/delete/96461/non-english Del: in docs -- https://master.php.net/note/delete/96461/in+docs Del: other reasons-- https://master.php.net/note/delete/96461 Reject -- https://master.php.net/note/reject/96461 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#166449) next »