Presentation is loading. Please wait.

Presentation is loading. Please wait.

Intro to XML Dr. Lam TECM5191. Why XML? Text CHRISLAM138 to 22333.

Similar presentations


Presentation on theme: "Intro to XML Dr. Lam TECM5191. Why XML? Text CHRISLAM138 to 22333."— Presentation transcript:

1 Intro to XML Dr. Lam TECM5191

2 Why XML? Text CHRISLAM138 to 22333

3 So, why XML? 1.Useful for sharing data between formats 2.Requires structure and hierarchy while still being extremely flexible 3.Inherently semantic and intended for humans AND machines 4.Extremely simple (just text describing text). That’s it.

4 XML is: Useful for sharing data between formats XML can be transformed using languages like XSLT or XFOP to output data in a variety of formats. Essentially what makes the single source for single sourcing XML has both an input and output path Data can be put into XML (e.g., from MySQL database into XML document) Data can be parsed from XML (e.g., XML document into XLS or CSV file)

5 XML Requires structure and hierarchy while still being extremely flexible 123 Fake Street Denton Texas 76201

6 XML is Inherently semantic and intended for humans AND machines 123 Fake Street Denton Texas 76201

7 XML Rules 1.All tags that open must close 2.Tags are case sensitive (always use lowercase!) 3.Tags close in the reverse order they open 4.Documents must have a root element 5.Values must be quoted

8 Let’s Practice Mark it up! Choose two faculty members to create an XML schema. Push to Git. http://tc.unt.edu/faculty


Download ppt "Intro to XML Dr. Lam TECM5191. Why XML? Text CHRISLAM138 to 22333."

Similar presentations


Ads by Google