Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

K D Ambani Vidyamandir, Reliance Greens

Session 2019-2020
Informatics Practices WorkSheet-8
Topic: XML
Name: _______________________ Date: ____________
Class: ______ Sec: ________ Roll No.: __________

1. What is XML?
2. What are the main features of XML?
3. How is XML different from HTML?
4. Which organization create the XML standard and why?
5. What is the main benefit of XML?
6. Communication between two potentially different platforms is achieved using XML.
Explain the statement with an example.
7. How does XML allow us to store self-describing data?Explain with an example
8. After creating an XML file with user defined tags.What is the next step?
9. Which file is used to transform an XML file to HTML format
10. What is XML prolog?
11. What is XML root element?
12. Consider the XML file breakfast.xml and answer the questions
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="b.xsl"?>
<breakfast_menu>
<food>
<name>Belgian Waffles</name>
<price>Rs.5.95</price>
<description>Two of our famous Belgian Waffles with plenty of real maple syrup</description>
<calories>650</calories>
</food>
<food>
<name>Strawberry Belgian Waffles</name>
<price>Rs 7.95</price>
<description>Light Belgian waffles covered with strawberries and whipped cream</description>
<calories>900</calories>
</food>
</breakfast_menu>
i. Write down the prolog of the XML file
ii. Name the root element and the sub elements of the file
iii. Name the XLST file used to tansform the data into HTML format
13. The XML file article.xml contains some errors. Write the corrected code underlining the errors.
<?xml version="1.0"? encoding="UTF-8"?> >
<?xml-stylesheet type="text/xsl" href="example.xsl"?>
<Article>
<Title>My Article
<Authors>
<Author>Mr. XYZ</Author>
<Author>Mr. ABC</Author>
</Article>
<Body>This is my article text.</Body> </Author>

You might also like