Find Jobs
Hire Freelancers

WML Hmk

$30-5000 USD

Anulowano
Opublikowano ponad 15 lat temu

$30-5000 USD

Płatne przy odbiorze
XML Homework very easy ## Deliverables Step 1: DTD definition and XML documents, Layout/Formatting by means of CSS. Topic: “Au Cinéma!?? Les Brigades du Tigre - Thriller (2h 5min) - By Jérôme Cornuau - VF (en French) - With C. Cornillac, D. Kruger, E. Baer - Year: 2005 - Press : 3/5 Spectators : 4/5 About the adventures of commissar Valentin and inspectors Terrasson and Pujol, members of the " Brigades mobiles", special squad of the French police before the first world war.. Wed, Sat : 14:00 | 16:40 | 19:40 | 22:10 Tue, Fri, Mon, Thu : 14:00 | 19:40 | 22:10 Sun : 10:20 | 14:00 | 16:40 | 20:20 In this exercise we propose to design a system that allows publishing cinema programs into the web. The program consists of description of each movie playing at the cinema for one week. As in the example, above, every movie is described by its title, duration, kind, movie maker, actors, year of production, language (French or OV) and a short paragraph for describing the story. This description is completed by the list of projection times (days, time). Modeling and validating the XML data 1. Propose an XML tree for representing the precedent movie (Les brigades du tigres). 2. Which elements must be added for building an XML document representing the whole set of cinema programs? You XML document should contain at least 5 different movies. 3. Propose a DTD for validating the XML trees used for representing the cinema programs. Your DTD should respect the following constraints: • Press and spectators rating are optional. • Every movie must have a title • Every movie must have a projection time. 4. Propose a less restrictive DTD that would allow film descriptions given in any order. Layout and display using CSS You have to write a CSS file in order to display your XML document. The following constraints have to be taken into account: a. Every movie is displayed in a separated bloc as follows: b. You will use the police : Times New Roman 12 points, c. Titles are en bold, 14 points, d. The movie maker and the year of production should be in red, e. Actors are in blue, italic, and represent Hyperlinks to html pages describing the actor filmography. f. For the movie scheduling, the student is free to give any (original) format of display. PS: For CSS properties, examples, functions and facilities, please refer to: [login to view URL] Step 2: XML schema a) Propose a well-formed XML document of what could be your address Book. Each record, called « contact », should specify: • Indication whether the contact is a person or a company, etc., • Its name, • Surname (Only for persons), • Phone number • Address in terms of Street number and name, city, zip code and eventually a country. b) Give the XML schema for the proposed XML documents (the one you just built). The XML schema should be specified in a separate file (external) with .xsd extension. Add a reference toward that schema within your XML document. - You should validate your XML document using the following link: [login to view URL] c) Given the following XML schema: <?xml version="1.0" encoding="UTF-8"?> <bank xmlns:xsi="[login to view URL]" xsi:noNamespaceSchemaLocation="[login to view URL]"> <accounts> <savings_accounts> <savings_account id="a1" interest="0.03"> <balance>2500</balance> </savings_account> <savings_account id="a2" interest="0.03"> <balance>15075</balance> </savings_account> </savings_accounts> <checking_accounts> <checking_account id="a3"> <balance>4025</balance> </checking_account> <checking_account id="a4"> <balance>-125</balance> </checking_account> <checking_account id="a5"> <balance>325</balance> </checking_account> </checking_accounts> </accounts> <customers> <customer id="c1"> <name>Ben Richerdson</name> <address>Park Drive 2</address> </customer> <customer id="c2"> <name>Marc Wretcher</name> <address>Mill Drive 75</address> </customer> <customer id="c3"> <name>Angel Steady</name> <address>Lake Sight 15</address> </customer> </customers> <customer_accounts> <customer_account c_id="c1" ac_id="a2"/> <customer_account c_id="c1" ac_id="a3"/> <customer_account c_id="c2" ac_id="a4"/> <customer_account c_id="c3" ac_id="a1"/> <customer_account c_id="c3" ac_id="a5"/> </customer_accounts> </bank> Give an XML Schema for [login to view URL] satisfying the following requirements: ?? There are two account types: checking and savings accounts ?? The account id is unique in 'accounts' ?? The customer id is unique in 'customers' ?? 'c_id' refers to customers and 'ac_id' refers to accounts ?? The account balance must be greater than "-500" ?? Use inheritance for checking and savings accounts by deriving from a common account type. You should validate your XML document/XML schema using the following link: [login to view URL] Step 3: How to browse and to transform an XML document using the DOM API The goal is to navigate within an XML document using the DOM API with JAVA, to extract data and to produce as output, an HTML document. The [login to view URL] document is used as input for this exercise. To deal with this exercise, a predefined Java program is provided. That latter read the XML file ([login to view URL]) as input, create an instance of a DOM parser and generate the DOM tree corresponding to the XML document. To do: - Copy the [login to view URL] file, its DTD and all Java files. Important: Do not open the [login to view URL] with any kind of text editor, this would affect the file and you will have to download it again from the TP package (ZIP). - Explore the Java code - Modify the path in the java code to point the XML document ??"bib.xml- (if needed). - Code the missing part of the code and compile. - Execute the Java program and check the resulting HTML document within your browser. You should produce an html document that looks like the one provided with the exercise ([login to view URL]) PS : Java DOM API on : [login to view URL]
Identyfikator projektu: 3410906

Informację o projekcie

Zdalny projekt
Aktywny 15 lat temu

Szukasz sposobu na zarobienie pieniędzy?

Korzyści ze składania ofert na Freelancer.com

Ustal budżet i ramy czasowe
Otrzymuj wynagrodzenie za swoją pracę
Przedstaw swoją propozycję
Rejestracja i składanie ofert jest bezpłatne

O kliencie

Flaga FRANCE
France
0,0
0
Członek od lis 21, 2008

Weryfikacja Klienta

Dziękujemy! Przesłaliśmy Ci e-mailem link do odebrania darmowego bonusu.
Coś poszło nie tak podczas wysyłania wiadomości e-mail. Proszę spróbować ponownie.
Zarejestrowani Użytkownicy Całkowita Liczba Opublikowanych Projektów
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Wczytywanie podglądu
Udzielono pozwolenia na Geolokalizację.
Twoja sesja logowania wygasła i zostałeś wylogowany. Proszę, zalogować się ponownie.