Library markup language, Computer Engineering

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.

Posted Date: 2/22/2013 7:29:57 AM | Location : United States







Related Discussions:- Library markup language, Assignment Help, Ask Question on Library markup language, Get Answer, Expert's Help, Library markup language Discussions

Write discussion on Library markup language
Your posts are moderated
Related Questions
#question.A universal shift register can shift in both the left-to-right and right-to-left directions, and it has parallel-load capability. Draw a circuit for such a shift register

What are the different scheduling policies in Linux The Linux scheduler has three different scheduling policies: one for 'normal'Processes, and two for 'real time' processes

Q. Develop a menu driven program to implement the logic of the following gates. I. AND Gate II. OR Gate III. NOT Gate IV. Exit The user has option to give n number

What are controls? How to use them? Give examples for control. Controls are objects that can be placed in a form. The dissimilar controls are available in the Tool Box. After

Learning Abilities of Perceptrons - Artificial intelligence Computational learning theory is the study of what concepts specific learning schemes (representation and method) ca

Q. How to Set Table Properties in dreamweaver? Now you will use table Property inspector to clear the extra space in navigation buttons table and to add a background color in t

Can you explain what inheritance is and an example of when you might use it? The process of deriving a new class from an existing class is known as Inheritance. The old class i

1. Consider the one-time pad encryption scheme to encrypt a 1-bit message m, and assume m is chosen with uniform distribution from message space M={0,1}. Let E1 be the event "messa

Vector-Scalar Instructions : In this type, when the combination of vector and scalar are fetched and saved in vector register. These instructions are denoted with the many function

Q. Describe Message Passing Model? In message-passing model there be a set of tasks which employ their own local memories at the time of computation. Many tasks may inhabit on