Monday, May 6, 2013


CPT 211: Tutorial Questions for Week 11 – Discussion
1.       Similarities and differences between HTML and XML.
Differences:
Xml is a dynamic language – we can do it using animation.
Html is static language – only display image, text.
Xml is good for transmission of data – compatible between differences sw/hw
Easy to aggregate(safe for environmentally changing)
Similarities: use in website design.

2.       Your opinion on the future of XML. Justify your answer.
Xml is going to transfer to programming language – can be used not for web design, but also application.
 Eg : c++, JavaScript.


Tutorial Assignment for Week 11
The academic standing of university student should include the followings:
a. Student name
b. Student id #
c. Semester
d. Current course listing includes the followings:
                - different course types listing: core, elective & university
                - grade obtained from each course for the semester
e. Current semester GPA and cumulative GPA
f. Academic status: A, P1, P2, FO
Task:
1. Develop XML that describes the academic standing of university student by semester. [i.e. student.xml]
2. Develop XML Document Type Definition (DTD) for task 1. [i.e. student. dtd]
3. Develop XML Schema Document (XSD) for task 1. [i.e. student.xsd]

6 comments:

  1. 1. Similarities and differences between HTML and XML.
    Differences:
    Xml is a dynamic language – we can do it using animation.
    Html is static language – only display image, text.
    Xml is good for transmission of data – compatible between differences sw/hw
    Easy to aggregate(safe for environmentally changing)
    Similarities: use in website design.

    2. Your opinion on the future of XML. Justify your answer.
    Xml is going to transfer to programming language – can be used not for web design, but also application.
    Eg : c++, JavaScript.

    ReplyDelete
    Replies
    1. he main difference between HTML and XML is that HTML has predefined elements and attributes whose behavior is well specified, while XML does not work. Instead, document authors to create their own XML words that are specific to their application or business needs. XML vocabulary is currently a wide range of industries and applications from financial applications.
      Another difference between HTML and XML is that XML introduces the concept of regular Ness. Normal Ness XML to eliminate some of the ambiguities inherent in the transformation of markup languages such as HTML implementation of standards, such as radio frequencies, which all attributes are enclosed in quotation marks.

      Delete
  2. Similarities
    - both are markup language used in web
    - use tags
    - both can be read by software
    Differences
    XML is not a replacement for HTML.
    XML
    -dynamic language
    -designed to transport and store data, with focus on what data is.
    -Carry information
    HTML
    -static language
    -designed to display data, with focus on how data looks
    -display information

    ReplyDelete
  3. HTML
    HTML is a language for describing web pages.
    • HTML stands for Hyper Text Markup Language
    • HTML is a markup language
    • A markup language is a set of markup tags
    • The tags describe document content
    • HTML documents contain HTML tags and plain text
    • HTML documents are also called web pages
    XML
    • XML stands for EXtensible Markup Language
    • XML is a markup language much like HTML
    • XML was designed to carry data, not to display data
    • XML tags are not predefined. You must define your own tags
    • XML is designed to be self-descriptive
    The Difference Between XML and HTML
    XML is not a replacement for HTML.
    XML and HTML were designed with different goals:
    • XML was designed to transport and store data, with focus on what data is
    • HTML was designed to display data, with focus on how data looks
    HTML is about displaying information, while XML is about carrying information.

    ReplyDelete