html and xnl expert

profilestaff2181A
Assignment2.docx

Assignment 2

1. Here, you are asked to write a number of small codes to perform certain tasks.

2. Document your code thoroughly.

Part 1

HTML (Hypertext Markup Language)

Assignments

(Total 5 Points “4 Tasks 1.25 Point Each”)

A21: Use HTML to add a “table”. This table should have 3 columns and 7 rows. The table headers are one of the 3 columns.

A22: Use HTML to display the current “date and time”.

A23: Use HTML to draw a Scalable Vector Graphics “SVG” circle.

A24: Use HTML to “drag and drop” feature to grab an object and drag it to a different location.

 

Part 2

XML (eXtensible Markup Language)

Assignments

 

(Total 5 Points “4 Tasks 1.25 Point Each”)

 

 

Here, you are asked to write a number of small codes to perform certain tasks.

 

A25: Give an example for XMLHttpRequest.

A26: Give an example that parses a text string into an XML DOM object and extracts the info from it with JavaScript.

A27: Use XPath to traverse through elements and attributes in an XML document of your choice.

A28: Give an example of how to use XLink to create links in an XML document.

 

In your report, you should include.

· Clearly indicate your input(s) and Output(s). 

· An algorithm displaying the stages of your design You should specifically state all declarations to your parameters/buffers/arrays and make sure of your execution/delay timings with respect to the hardware unit type.  

This  will  be followed by a,

· Related flowchart, followed by a Well‐documented code with a programing language of your own choice.