Question

In: Computer Science

Design at least five XML documents. One of these XML is main page.


Description 

Design at least five XML documents. 

One of these XML is main page. 

    There are several links which link to other XML document. 

Each XML document has an XSLT document which transforms XML document into HTML format.

Solutions

Expert Solution

Document Type Definitions

  • Planes For Sale DTD
  • 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
  • Planes For Sale XML
  • 
    
    
    
    
    
       
           1977 
           &c; 
           Skyhawk 
           Light blue and white 
           New paint, nearly new interior,
                685 hours SMOH, full IFR King avionics 
           23,495 
           Skyway Aircraft 
          
              Rapid City, 
              South Dakota 
          
       
       
           1965 
           &p; 
           Cherokee 
           Gold 
           240 hours SMOH, dual NAVCOMs, DME, 
                    new Cleveland brakes, great shape 
          
                  John Seller 
          
              St. Joseph, 
              Missouri 
          
       
    

XML Schema

  • Planes Schema
  • 
    
    
    
    
    
        
            
                
                    
                
            
        
    
    
  • Planes XML with Schema
  • 
    
    
    
         Cessna 
         Piper 
         Beechcraft 
    

XML Styling with CSS

  • Planes CSS
  • 
    .ad 
    { 
      display: block; 
      margin-top: 15px; 
      color: blue;
    }
    
    .year, .make, .model 
    { 
      color: red; 
      font-size: 16pt;
    }
    
    .color 
    {
      display: block; 
      margin-left: 20px; 
      font-size: 12pt;
    }
    
    .description 
    {
      display: block; 
      margin-left: 20px; 
      font-size: 12pt;
    }
    
    .seller 
    { 
      display: block; 
      margin-left: 15px; 
      font-size: 14pt;
    }
    
    .location 
    {
      display: block; 
      margin-left: 40px; 
    }
    
    .city 
    {
      font-size: 12pt;
    }
    
    .state 
    {
      font-size: 12pt;
    }

XSLT Processing

  • Planes 1 XML
  • 
    
    
    
        1977 
        Cessna 
        Skyhawk 
        Light blue and white 
    
  • Planes 1 XSL 1
  • 
    
    
    
    
    
       
          Style sheet for xslplane.xml 
         
         

    Airplane Description

    Year:
    Make:
    Model:
    Color:
  • Planes 1 XSL 2
  • 
    
    
    
    
    
       
          Style sheet for xslplane.xml 
         
         

    Airplane Description

    Year:
    Make:
    Model:
    Color:
  • Planes 2 XML
  • 
    
    
    
       
           1977 
           Cessna 
           Skyhawk 
           Light blue and white 
       
       
           1975 
           Piper 
           Apache 
           White 
          
       
           1960 
           Cessna 
           Centurian 
           Yellow and white 
       
       
           1956 
           Piper 
           Tripacer 
           Blue 
       
    
  • Planes 2 XSL
  • 
    
    
    
    
    
    
       
          

    Airplane Descriptions

    Year:
    Make:
    Model:
    Color:


Related Solutions

Q55 Identify the main attributes of XML. [3 Marks]
Q55 Identify the main attributes of XML. [3 Marks]
1. Create an xml documents called company.xmlcontaining two sections employees and invoices with the following specifications:...
1. Create an xml documents called company.xmlcontaining two sections employees and invoices with the following specifications: A. • Employee ▪ Name o Last name o First name ▪ Address ▪ Hire Date B.​ ▪ Invoice • Order (Should have an order number attribute) o Name (of the customer) o Address (of the customer) o Total price (of the order) o Date (of the order) • Shipping info o Name (of the company) - Use either of the following: ▪ Fed...
what is the importance of LinkedIn? At least one page SUBJECT English
what is the importance of LinkedIn? At least one page SUBJECT English
1. What is globalization? At least one page SUBJECT: ANTHROPOLOGY
1. What is globalization? At least one page SUBJECT: ANTHROPOLOGY
Create a table on one page of your site that has at least one colspan or...
Create a table on one page of your site that has at least one colspan or rowspan. Style it with at least three selectors in your stylesheet. You can use element, class and/or ID. (Note: do not use deprecated HTML attributes - use CSS!) Add at least two font stacks to your website including one web font from Google Fonts (Links to an external site.) Use padding, margin, and border at least once each in your stylesheet.
Pros and Cons of virtual clinical experience in nursing. At least one page
Pros and Cons of virtual clinical experience in nursing. At least one page
What benefits of using a LinkedIn? At least one page SUBJECT: ENGLISH
What benefits of using a LinkedIn? At least one page SUBJECT: ENGLISH
Design a correlational study, you will need two variables with at least five sets of data....
Design a correlational study, you will need two variables with at least five sets of data. between these two variables: time spent playing video games and aggression. My question: Assume the study produces a correlation of .56 between the variables. Analyze three possible causal reasons for the relationship.
Please develop at least five design notes to be provided in the construction drawing for cast-in-place...
Please develop at least five design notes to be provided in the construction drawing for cast-in-place reinforced concrete piles without permanent casing
I need a short summary (at least one page) of chapter one from the book Multinational...
I need a short summary (at least one page) of chapter one from the book Multinational Financial Management (10th Edition) it is very important. Thank you!
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT