{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Extensible Markup Language1 - Extensible Markup Language...

Info icon This preview shows pages 1–13. Sign up to view the full content.

View Full Document Right Arrow Icon
    Extensible Markup Language XML
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 2
Image of page 3

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 4
Introduction New e X tensible  M arkup  L anguage:  XML Can use  XML  to define new languages Distributes  easily on the Web Can  mix  different types of data together
Image of page 5

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Basic XML Rules Technical details Always need  end tags Special  empty-element  tags Always  quote  attribute values 
Image of page 6
Like this example ….. <?xml version="1.0" encoding="iso-8859-1"?> <html  xmlns="http://www.w3.org/TR/xhtml1"  > <head>    <title> Title of text XHTML Document </title> </head><body> <div class="myDiv">     <h1> Heading of Page </h1>        …..      <p>And here is another paragraph, this one  containing an             <img  src="image.gif" alt="waste of time"  />                inline image, and a <br  />  line break. </p> </div>  </body></html>
Image of page 7

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Evolution of XML Many XML languages, optimised for  different roles MathML  -- for mathematics SMIL  -- for synchronised multimedia RDF  -- for describing “things”  XUL  -- for describing the Navigator 5 user  interface
Image of page 8
MathML Designed to express  semantics  of maths Also can express  layout Cut & paste into  Maple, Mathematica x 2  + 4x + 4 =0 <mrow>   <mrow>         <msup> <mi>x</mi> <mn>2</mn> </msup>  <mo>+</mo>             <mrow>               <mn>4</mn>               <mo>&invisibletimes;</mo>               <mi>x</mi>             </mrow>     <mo>+</mo>     <mn>4</mn>   </mrow>     <mo>=</mo>     <mn>0</mn> </mrow>
Image of page 9

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
SMIL S ynchronised  M ultimedia  I ntegration  L anguage Integration of multimedia with text, audio,  video Support in RealPlayer G2
Image of page 10
SMIL Example <smil> <head> <meta name="title" content="Online Teaching Services promo" /> <meta name="author" content="Jay Moonah, CAT" /> <layout type="text/smil-basic-layout"> <root-layout width="280" height="316" background-color="white"/> <region id="AnimChannel1" title="AnimChannel1" left="0" top="0" height="265" width="280" fit="hidden"/> </layout> </head> <body> <par title="Online Teaching Services promo" author="Jay Moonah, CAT" > <audio src="final.rm" id="Soundtrack" title="Soundtrack"/> <animation src="otscompfin.swf" id="Animation" region="AnimChannel1" title="Animation" fill="freeze"/> <text src="cc.rt" id="caption" region="cc" title="cc" fill="freeze"/> </par> </body></smil>
Image of page 11

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
XHTML: NextGen HTML <?xml version="1.0" encoding="iso-8859-1"?> <html  xmlns="http://www.w3.org/TR/xhtml1"  > <head>    <title> Title of text XHTML Document </title> </head> <body> <div class="myDiv">     <h1> Heading of Page </h1>      <p> here is a paragraph of text. I will include  inside this paragraph              a bunch of wonky text so that it looks fancy . </p>      <p>Here is another paragraph with  <em>inline emphasized</em>             text, and <b> absolutely no</b> sense of humor. </p>      <p>And another paragraph, this one  with an <img src="image.gif" 
Image of page 12
Image of page 13
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern