Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more ➡
Download
Standard view
Full view
of .
Add note
Save to My Library
Sync to mobile
Look up keyword
Like this
7Activity
×
0 of .
Results for:
No results containing your search query
P. 1
Lecturer Notes on IT 2353 UNIT IV

Lecturer Notes on IT 2353 UNIT IV

Ratings: (0)|Views: 1,123|Likes:
Published by Shankar

More info:

Published by: Shankar on Mar 21, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, DOC, TXT or read online from Scribd
See More
See less

02/17/2014

pdf

text

original

 
UNIT IVRepresenting Web Data: XML-Documents and Vocabularies-Versions and Declaration-Namespaces JavaScript and XML: Ajax-DOM based XML processing Event-orientedParsing: SAX-Transforming XML Documents-Selecting XML Data:XPATH-Templatebased Transformations: XSLT-Displaying XML Documments in Browsers-Case Study- Related Technologies. Separating Programming and Presentation: JSPTechnology Introduction-JSP and Servlets-Running JSP Applications Basic JSP-JavaBeans Classes and JSP-Tag Libraries and Files-Support for the Model-View-Controller Paradigm-Case Study-Related Technologies.XMLIntroductionXML documents look similar to HTML documentsXML is extensible, tags are not predefined and limited as in HTMLYou can define your own tags in a DTD or XML schemaXML is stored in plain text, making it software and hardware independentLegal characters are those of Unicode and ISO/IEC 10646.XML does not DO anything!It structures and describes information for storage or transmissionXML stands for EXtensible Markup Language• XML is a markup language much like HTML• XML was designed to carry data, not to display data• XML tags are not predefined. You must define your own tags• XML is designed to be self-descriptive• XML is a W3C RecommendationExample XML document:An XML document is one that follows certain syntax rules (most of which wefollowed for XHTML)
 
 The Difference Between XML and HTMLXML is not a replacement for HTML. XML and HTML were designed with differentgoals:XML was designed to transport and store data, with focus on what data is. HTML wasdesigned to display data, with focus on how data looks.HTML is about displaying information, while XML is about carrying information.XML SyntaxAn XML document consists of MarkupTags, which begin with < and end with >References, which begin with & and end with ;
 
Character, e.g. &#x20;Entity, e.g. &lt;» The entities lt, gt, amp, apos, and quot are recognizedin every XML document.» Other XHTML entities, such as nbsp, are onlyrecognized in other XML documents if they aredefined in the DTDCharacter data: everything not markupCommentsBegin with <!--End -->Must not contain – CDATA sectionSpecial element the entire content of which is interpreted as character data,even if it appears to be markupBegins with <![CDATA[Ends with ]]> (illegal except when ending CDATA)< and & must be represented by references exceptWhen beginning markupWithin commentsWithin CDATA sectionsElement tags and elementsThree types

Activity (7)

You've already reviewed this. Edit your review.
1 thousand reads
1 hundred reads
Sowmiyia liked this
Sam Kate liked this
miChiKoLee liked this

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->