Page 351 - Open Soource Technologies 304.indd
P. 351
Unit 13: Extensible Markup Language
1. Create a program which shows the use of function xml_set_element_ Notes
handler( ).
2. Write a PHP code which shows a very basic XML-RPC server.
13.9 Review Questions
1. What is XML? What are the main development goals of XML?
2. Write the features of XML.
3. How do we generate XML document in PHP? Explain with example.
4. How do we parse XML in PHP? Which parsers are used in PHP?
5. How do we create a parser? Explain with example.
6. What are the unparsed entities? How does it declare?
7. How do we transform XML with XSLT?
8. Write the PHP code for XSL transformation from variables.
9. Write about the webservices used in PHP.
10. Write the PHP code which shows a client for the multiply function for the XML-RPC
service.
Answers to Self Assessment
1. (c) 2. (a) 3. (a) 4. (b) 5. (c)
6. (b) 7. (a) 8. (a) 9. (b)
13.10 Further Reading
PHP and MySQL Web Development, by Luke Welling, Laura Thomson.
http://www.ntchosting.com/php/php-xml-parser.html
LOVELY PROFESSIONAL UNIVERSITY 345