Library markup language, Computer Engineering

Assignment Help:

1. Design a DTD for a new XML application called Library Markup Language (LibML) appropriate to capture the list of your items of collection. Put the DTD into a file named library.dtd.

2. Create an XML document my_library.libml that can be validated against library.dtd. You have to supply details as regard to the information of the items in your library document.

3. Design an XML schema for LibML. Put the schema into a document called library.xsd. The schema should contain at least what is specified in library.dtd. Use the facilities available in XML Schema to make the definition of LibML better than the DTD version. However, you must ensure that the documents created in (2) are still valid for the XML schema, without needing to make any changes except the references to the DTD. Discuss the differences between your XML schema and your DTD.

4. Create XSLT style-sheets as required below:

a) Create an XSLT style-sheet cat_list.xsl to extract a list of the items (and their corresponding call numbers) from a LibML document. The result should be plain text. The list should be ordered in alphabetical order by the item's names or titles. Each item should be in the following format:: Note: we state in the above that "the result should be plain text". It means that the raw output should be in plain text, not that it looks like plain text in a browser. Many students in the past have made the mistake of using browsers to execute their code, and mistakenly believe that the outputs are correct by looking at a browser window, when in fact the output are actually in HTML. Test your XSLT stylesheet using my_library.libml from (2).

b) Create an XSLT style-sheet match_xml.xsl to extract the details of all items whose name titles contain some keyword or your choice (for example, if you have a book library, you might like to use the keyword, "XML") from a LibML document. The style and content of the output should be in plain text similar to that of question 4(a). Test your XSLT style-sheet using my_library.libml from (2).

c) Create an XSLT style-sheet libml2xhtml.xsl to convert the information in a LibML document such as my_library.libml from (2) into XHTML. The resulting XHTML documents should be well presented in a web browser although the actual design of the XHTML page is up to you.


Related Discussions:- Library markup language

Radius of curvature in differential calculas, find the radius of curvature ...

find the radius of curvature at the point (3,3) at a point x3+xy2-6y2=0?

Compare pre-emptive and non-preemptive scheduling policies, Compare pre-emp...

Compare pre-emptive and non-preemptive scheduling policies. We preempt the currently executing process in preemptive scheduling. In non-preemptive we permit the current process

Explain dial tone and ringing tone in strowger telephony, Explain Dial Tone...

Explain Dial Tone and Ringing Tone in strowger telephony. Dial Tone: it is used to indicate that the exchange is ready to recognize dialed digits by the subscriber. The subsc

What do you mean by daisy chain, Q. What do you mean by Daisy chain? Th...

Q. What do you mean by Daisy chain? This scheme provides a hardware poll. With this scheme, an interrupt acknowledge line is chain by different interrupt devices. All I/O inter

What is encapsulation technique, Hiding data within the class and making it...

Hiding data within the class and making it available only by the methods. This method is used to protect your class against accidental changes to fields, which might leave the clas

Explain optimizing transformations, Explain optimizing transformations? ...

Explain optimizing transformations? Optimizing transformations: It is a rule for rewriting a segment of a program to enhance its execution efficiency without influencing i

What is exception, a. Explain about exception? When do they occur? Show usi...

a. Explain about exception? When do they occur? Show using an example how to give your own exception handler. b. Can you restrict the types of exception that a function can thro

Describe the object modeling notations, OBJECT MODELING NOTATIONS: BASIC ...

OBJECT MODELING NOTATIONS: BASIC Concepts A system is the collection of subsystems which organised to accomplish a purpose and described by a set of models from variou

Input a list of positive numbers, Input a list of positive numbers, termina...

Input a list of positive numbers, terminated by 0, into an array Numbers. Then display the array and the largest and smallest number in it.

Illustration of disk formatting, Q. Illustration of disk formatting? An...

Q. Illustration of disk formatting? An illustration of disk formatting is displayed in Figure below. In this case every track comprises 30 fixed-length sectors of 600 bytes eac

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd