DOC PREVIEW
TRINITY CSCI 1320 - Extensible Markup Language

This preview shows page 1-2 out of 7 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 7 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 7 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 7 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

Slide 1Slide 2Slide 3Slide 4Slide 5Slide 6Slide 7XML11-16-2011Opening DiscussionDo you have any questions about the quiz?Minute essay comments:Turn in assignment #3 before class on Monday after Thanksgiving.Discrete enrollment.In other languages XML is more of a pain, but still not as bad as writing your own parser.Am I a Mac or Windows person?General usefulness of XML.Approach for flat text → XML.MoreXML in browsers.Fraction of sites using XHTML?Why does Scala reorder attributes? Should never cause problems.Using \ and \\Use the \ operation on a node to search for the occurrences of something at the top level.The second argument is a string.Normal string searches for tags with that label.If the string starts with @ it searches for attributes.Use \\ to search deeply.Writing XMLWe saw you can put XML directly into Scala code.If you put in curly braces, you can next Scala code in the XML.<student name={name}> {grades.map(g => <grade value={g.toString}/>)}</student>Properties much be strings.XML.save(filename:String, node:Node)CodeLet's keep working with the code for storing student data in XML.Minute EssayWhen would you not want to use


View Full Document

TRINITY CSCI 1320 - Extensible Markup Language

Documents in this Course
Functions

Functions

10 pages

Functions

Functions

10 pages

Graphics

Graphics

10 pages

Graphics

Graphics

11 pages

Loops

Loops

4 pages

Loops

Loops

3 pages

Strings

Strings

9 pages

Functions

Functions

10 pages

Loops

Loops

11 pages

Graphics

Graphics

11 pages

Graphics

Graphics

12 pages

Sorting

Sorting

11 pages

Sorting

Sorting

10 pages

Arrays

Arrays

10 pages

Loops

Loops

18 pages

Load more
Download Extensible Markup Language
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Extensible Markup Language and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Extensible Markup Language 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?