• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Conclusion

Using PHP, we have created a simple XML parser on the server. In doing so we went beyond the simple DOM parser and learned event-driven techniques. Our parser read in a simple XML file and generated a response.

On the client side, too, we are now able to both read and write XML. We can even use the XML.sendAndLoad() function, which exchanges the XML object in memory with the server. A two-way XML data exchange is functioning smoothly: Both sides can receive, alter, and retransmit an XML object. We can design all sorts of data-sharing strategies, both symmetrical and assymetrical.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint