![]() |
Xataface 2.0
Xataface Application Framework
|
Public Member Functions | |
| Dataface_ImportFilter_xml () | |
| import (&$data) | |
File: Dataface/ImportFiter/xml.php Author: Steve Hannah <shannah@sfu.ca> Created: December 3, 2005
Description: ------------- Import filter that converts xml to Record objects. The XML must be of the form:
<dataface> <Profile> <FirstName>John</FirstName> <LastName>Smith</LastName> <Phone>555-555-5555</Phone> </Profile> <Profile> <FirstName>Julia</FirstName> <LastName>Vaughn</LastName> <Phone>444-444-4444</Phone> </Profile> </dataface>
The above example xml would be converted into an array of 2 Dataface_Record objects for the "Profile" table.
1.7.4