<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1187612864470147939</id><updated>2012-01-19T15:27:13.978-08:00</updated><title type='text'>Advanced Web Technologies</title><subtitle type='html'>Rathakrishnan's blog - Middlesex University</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://krishlk.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1187612864470147939/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://krishlk.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Rathakrishnan</name><uri>http://www.blogger.com/profile/10083727258947933608</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>16</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1187612864470147939.post-5797670346996414943</id><published>2012-01-19T15:17:00.001-08:00</published><updated>2012-01-19T15:27:13.990-08:00</updated><title type='text'>Blippar Revolutionary Mobile Application</title><content type='html'>&lt;a href="http://2.bp.blogspot.com/-hm4VSAEcCKQ/TximwAyrpLI/AAAAAAAAAPQ/TRlnNDcKtnc/s1600/Blippar_print_ad.jpg"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 200px; height: 134px;" src="http://2.bp.blogspot.com/-hm4VSAEcCKQ/TximwAyrpLI/AAAAAAAAAPQ/TRlnNDcKtnc/s200/Blippar_print_ad.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5699488672213869746" /&gt;&lt;/a&gt;&lt;br /&gt;The Blippar™ platform uses the latest image recognition technology to make the advert itself the trigger for the virtual content. What the content consists of... is totally brand dependent&lt;br /&gt;&lt;br /&gt;I have shocked after go through the possibilities of this technology platform and I coudlnt even believe that this technology is invent by Ambarish Mitra, Omar Tayeb, Jessica Butcher and Steve Spencer. one of them an Indian. &lt;br /&gt;&lt;br /&gt;Also this technology platform killing the QR code technology now. wait and see what will happen...&lt;br /&gt;Ref: http://econsultancy.com/uk/blog/8063-blippar-a-qr-code-killer&lt;div class="blogger-post-footer"&gt;Thank you for your feedback&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1187612864470147939-5797670346996414943?l=krishlk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krishlk.blogspot.com/feeds/5797670346996414943/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://krishlk.blogspot.com/2012/01/blippar-revolutionary-mobile.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1187612864470147939/posts/default/5797670346996414943'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1187612864470147939/posts/default/5797670346996414943'/><link rel='alternate' type='text/html' href='http://krishlk.blogspot.com/2012/01/blippar-revolutionary-mobile.html' title='Blippar Revolutionary Mobile Application'/><author><name>Rathakrishnan</name><uri>http://www.blogger.com/profile/10083727258947933608</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-hm4VSAEcCKQ/TximwAyrpLI/AAAAAAAAAPQ/TRlnNDcKtnc/s72-c/Blippar_print_ad.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1187612864470147939.post-8746205219730139234</id><published>2010-03-03T03:34:00.001-08:00</published><updated>2010-03-03T03:46:05.160-08:00</updated><title type='text'>Week -17</title><content type='html'>Quick Question&lt;br /&gt;&lt;br /&gt;01. CSS is simply represent the data with eassy rathar than XSL.&lt;br /&gt;Because while everyone who might to access your XML document will have a web browser, not all of them will have a browser that can cope with XSL stylesheet. It would have different version of web browsers.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;02. None at all. The two labels for an XSL stylesheet ate completert interchangable.&lt;br /&gt;&lt;br /&gt;Some XSL programmers loke to use Stylesheet to label an XSL documeent that makes an XML document appear in a suitable format and tranform it eassiyly.&lt;br /&gt;&lt;br /&gt;Longer Question.&lt;br /&gt;&lt;br /&gt;01.&lt;br /&gt;&lt;br /&gt;/policies/policy/claims/year&lt;br /&gt;&lt;br /&gt;/policies/policy/claims/claim/details&lt;br /&gt;&lt;br /&gt;/policies/policy/policy-holder&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;calling attribute&lt;br /&gt;&lt;br /&gt;/policies/policy/@type&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Search the whole document (Eassy way of searching :) )&lt;br /&gt;&lt;br /&gt;//policy-holder&lt;br /&gt;&lt;br /&gt;//@type&lt;br /&gt;&lt;br /&gt;//year&lt;br /&gt;&lt;br /&gt;//details&lt;div class="blogger-post-footer"&gt;Thank you for your feedback&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1187612864470147939-8746205219730139234?l=krishlk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krishlk.blogspot.com/feeds/8746205219730139234/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://krishlk.blogspot.com/2010/03/week-17.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1187612864470147939/posts/default/8746205219730139234'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1187612864470147939/posts/default/8746205219730139234'/><link rel='alternate' type='text/html' href='http://krishlk.blogspot.com/2010/03/week-17.html' title='Week -17'/><author><name>Rathakrishnan</name><uri>http://www.blogger.com/profile/10083727258947933608</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1187612864470147939.post-5550787810847596823</id><published>2010-03-03T02:56:00.000-08:00</published><updated>2010-04-01T06:29:50.075-07:00</updated><title type='text'>Week -17 CW</title><content type='html'>Coursework&lt;br /&gt;&lt;br /&gt;a) The Food Remedies, which is the book, consists of lots of chapters and contents.&lt;br /&gt;We need to provide the Knowledge base such as Advanced organization of book, search, and related article features to ensure the user or visitor find the answers they're looking for &lt;br /&gt;&lt;br /&gt;So first we need to just create website which is flexible and accessble for users.&lt;br /&gt;I am just planning to do the following features of it&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;searching options within web by fruitName, MedicalUse,caution, recomond Authority,  &lt;br /&gt;and FAQs.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;c) Entities and Attributes&lt;br /&gt;&lt;br /&gt;BookName      - rootElement&lt;br /&gt;  chapter, publishDate , publishBy     - attribute&lt;br /&gt;author        - element&lt;br /&gt;address       - element w&lt;br /&gt;  street, country                      - attributes&lt;br /&gt;&lt;br /&gt;fruitname     - element&lt;br /&gt;medicalUse     - element&lt;br /&gt;reciepe       - element (how to prepare the food)&lt;br /&gt;recomendBy     - element  (Eg: Doctor or authority)&lt;br /&gt;description   - element &lt;br /&gt;footNote      - element&lt;br /&gt;cautions      - element (Any prohibitions)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The Sample XML Document Look like this,&lt;br /&gt;&lt;br /&gt;&amp;lt; bookName chapter="introductory" &amp;gt;&amp;lt;/bookName&amp;gt;&lt;br /&gt;&amp;lt;author&amp;gt;Flowrence Daniel&amp;lt;/author&amp;gt;&lt;br /&gt;&amp;lt;address no="11" street="cursitor" &amp;gt;&amp;lt;/address&amp;gt;&lt;br /&gt;&amp;lt;fruitName&amp;gt;&lt;br /&gt;&amp;lt;medicaluse&amp;gt;fever and cought&amp;lt;/medicalUse&amp;gt;&lt;br /&gt;&amp;lt;reciepe&amp;gt;Take 2 apple and....&amp;lt;/reciepe&amp;gt;&lt;br /&gt;&amp;lt;recomondedBy&amp;gt;Doctor. Haige &amp;lt;/recomondedBy&amp;gt;&lt;br /&gt;&amp;lt;description&amp;gt;apple is traditional food .....&amp;lt;/description&amp;gt;&lt;br /&gt;&amp;lt;foorNote&amp;gt;notes&amp;lt;/footNote&amp;gt;&lt;br /&gt;&amp;lt;caution&amp;gt;dont eat this food for cough people&amp;lt;/caution&amp;gt;&lt;br /&gt;&amp;lt;/fruitName&amp;lt;&lt;br /&gt;&amp;lt;/bookName&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Selected Portion of Book Contents&lt;/span&gt;&lt;br /&gt;Beet.&lt;br /&gt;&lt;br /&gt;The red beet is useful in some diseases of the womb, while the white beet is good for the liver. It is laxative and diuretic. The juice mixed with olive oil is also recommended to be applied externally for burns and all kinds of running sores.&lt;br /&gt;&lt;br /&gt;Cabbage.&lt;br /&gt;&lt;br /&gt;All the varieties of the colewort tribe, including cabbage, cauliflower, brussels-sprouts, broccoli, and curly greens, have been celebrated from very ancient times for their curative virtues in pulmonary complaints. And Athenian doctors prescribed cabbage for nursing mothers. On account of the sulphur contained in them cabbages are good for rheumatic patients. They may be eaten steamed, or, better still, boiled in soft water and the broth only taken. The ordinary boiled cabbage is an indigestible "windy" vegetable, and should never be eaten.&lt;br /&gt;&lt;br /&gt;Caraway Seed.&lt;br /&gt;&lt;br /&gt;Caraway seeds sharpen the vision, promote the secretion of milk, and are good against hysterical affections. They are also useful in cases of colic. When used to flavour cakes the seeds should be pounded in a mortar, especially if children are to partake thereof.&lt;br /&gt;When used medicinally 20 grains of the powdered seeds may be taken in a wineglassful of hot water. But for children half an ounce of the bruised seeds are to be infused in cold water for six hours, and from 1 to 3 teaspoonfuls of this water given.&lt;br /&gt;A poultice of crushed caraway seeds moistened with hot water is good for sprains.&lt;br /&gt;Caraway seeds are narcotic, and should therefore be used with caution.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;XML FILE.&lt;br /&gt;&lt;br /&gt;&amp;lt;?xml version="1.0" ?&amp;lt;&lt;br /&gt;&amp;lt;?xml-stylesheet type= "text/xsl" href= "food.xsl"?&amp;lt;&lt;br /&gt;&lt;br /&gt;&amp;lt;foodremedy&amp;lt;&lt;br /&gt; &amp;lt;fooditem&amp;lt;&lt;br /&gt;  &amp;lt;foodcategory id= "grain"&amp;lt;&lt;br /&gt;      &amp;lt;wordSet&amp;lt;&lt;br /&gt;    &amp;lt;name&gt;Beet&amp;lt;/name&amp;lt;   &lt;br /&gt;    &amp;lt;cure&gt;Red beet useful in some diseases of the womb, white beet is good for the liver, Burns&amp;lt;/cure&amp;lt;&lt;br /&gt;    &amp;lt;Authority&gt; &amp;lt;/Authority&amp;lt;&lt;br /&gt;   &amp;lt;Cautionsprohibition&amp;lt;&amp;lt;/Cautionsprohibition&amp;lt;&lt;br /&gt;   &amp;lt;/wordSet&amp;lt;&lt;br /&gt;      &amp;lt;wordSet&amp;lt;&lt;br /&gt;    &amp;lt;name&amp;lt;Caraway Seed&amp;lt;/name&amp;lt;   &lt;br /&gt;    &amp;lt;cure&gt;sharpen the vision, good against hysterical affections, useful in cases of colic&amp;lt;/cure&amp;lt;&lt;br /&gt;    &amp;lt;Authority&gt; &amp;lt;/Authority&amp;lt;&lt;br /&gt;    &amp;lt;Cautionsprohibition&amp;lt;Caraway seeds are narcotic, should be used with caution&amp;lt;/Cautionsprohibition&amp;lt;&lt;br /&gt;   &amp;lt;/wordSet&amp;lt;&lt;br /&gt; &amp;lt;/foodcategory&amp;lt;&lt;br /&gt;  &amp;lt;foodcategory id= "vegetable"&amp;lt;&lt;br /&gt;      &amp;lt;wordSet&amp;lt;&lt;br /&gt;    &amp;lt;name&amp;lt;Cabbage&amp;lt;/name&amp;lt;   &lt;br /&gt;    &amp;lt;cure&amp;lt;good for rheumatic patients, CONSUMPTION&lt;/cure&amp;lt;&lt;br /&gt;    &amp;lt;Authority&amp;lt;Athenian doctors &amp;lt;/Authority&amp;lt;&lt;br /&gt;    &amp;lt;Cautionsprohibition&amp;lt;Ordinary boiled cabbage is an indigestible "windy" vegetable, and should never be eaten.&amp;lt;/Cautionsprohibition&amp;lt;&lt;br /&gt;   &amp;lt;/wordSet&amp;lt;&lt;br /&gt;  &amp;lt;/foodcategory&amp;lt;&lt;br /&gt; &amp;lt;/fooditem&amp;lt;&lt;br /&gt;&amp;lt;/foodremedy&amp;lt;&lt;br /&gt;&lt;br /&gt;This is my XML coding for my CW. I have just finished my CW and CW2 stuff inlcuding Stylesheet to represent the data in a proper format and finish the DTD also to validate the XML.&lt;div class="blogger-post-footer"&gt;Thank you for your feedback&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1187612864470147939-5550787810847596823?l=krishlk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krishlk.blogspot.com/feeds/5550787810847596823/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://krishlk.blogspot.com/2010/03/week-17-cw.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1187612864470147939/posts/default/5550787810847596823'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1187612864470147939/posts/default/5550787810847596823'/><link rel='alternate' type='text/html' href='http://krishlk.blogspot.com/2010/03/week-17-cw.html' title='Week -17 CW'/><author><name>Rathakrishnan</name><uri>http://www.blogger.com/profile/10083727258947933608</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1187612864470147939.post-9010508881059134125</id><published>2010-01-20T03:50:00.002-08:00</published><updated>2010-01-20T03:51:52.385-08:00</updated><title type='text'>Week -13  XML Schema</title><content type='html'>Quick Question&lt;br /&gt;01.	Different between simple type and complex type&lt;br /&gt;In XML Schema, the difference is between complex types which allow child elements in their content and may contain attributes, and simple types which cannot contain child elements  and cannot contain any attributes.&lt;br /&gt;&lt;br /&gt;02.	XML Scema&lt;br /&gt;This speciel language is called as XML Schema Language and here we dont need to learn a&lt;br /&gt;03.	Types&lt;br /&gt;String datatypes&lt;br /&gt;normalizedString&lt;br /&gt;token&lt;br /&gt;Integer&lt;br /&gt;&lt;br /&gt;Longer Question&lt;br /&gt;01.	&lt;”xs:schema xmlns:xs=http://www.w3.org/2001/xmlSchema”&gt;&lt;br /&gt;&lt;xs:schema – root element&lt;br /&gt;xmlns:xs – XML way to define the namespace&lt;br /&gt;http://www.w3.org - A URL which uniquily idenfies.&lt;br /&gt;xmlSchema – there is a corresponding end tag &lt;/xs:schema&gt; at the end of the document&lt;br /&gt;&lt;br /&gt;02.	XML Schema for the bank transcetion appllication&lt;br /&gt;a)	&lt;? Xml vertion=”1.0” encoding=”UTF-8”?&gt;&lt;br /&gt;&lt;xs:schema xmlns:xs=”http://www.w3.org/2001/xmlSchema”&gt;&lt;br /&gt;&lt;/xs:schema&gt;&lt;br /&gt;&lt;br /&gt;b)	Payment_doc –&lt;br /&gt;c)	&lt;xs:element name=”payment-doc” type=”electronic_payment_type&gt;&lt;br /&gt;&lt;xs:element&gt;&lt;br /&gt;&lt;xs:comlex typename=”electronic_payment_type”&gt;&lt;br /&gt;  &lt;xs:sequence&gt;&lt;br /&gt;   &lt;xs:element name=”Sender” type=”institution_type”/&gt;&lt;br /&gt;   &lt;xs:element name=”Receiver” type=”institution_type”/&gt;&lt;br /&gt;  &lt;xs:element name=”Transection” type=”transection_type” maxOccurs=”unbounded”/&gt;&lt;br /&gt;&lt;/xs:sequence&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;Thank you for your feedback&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1187612864470147939-9010508881059134125?l=krishlk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krishlk.blogspot.com/feeds/9010508881059134125/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://krishlk.blogspot.com/2010/01/week-13-xml-schema_20.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1187612864470147939/posts/default/9010508881059134125'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1187612864470147939/posts/default/9010508881059134125'/><link rel='alternate' type='text/html' href='http://krishlk.blogspot.com/2010/01/week-13-xml-schema_20.html' title='Week -13  XML Schema'/><author><name>Rathakrishnan</name><uri>http://www.blogger.com/profile/10083727258947933608</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1187612864470147939.post-3852492020901669202</id><published>2010-01-20T03:50:00.001-08:00</published><updated>2010-01-27T04:05:26.159-08:00</updated><title type='text'>Week -13  XML Schema</title><content type='html'>Week – 14&lt;br /&gt;Qucik Question&lt;br /&gt;&lt;br /&gt;01. to access the parts of the document. JS and other suitable language can search for and locate many different aspect. &lt;br /&gt;&lt;br /&gt;02. In OOP, an object is a self contained portion of a program that possesses properties and methods. So you would expect each of the components of the XML document, after it has been converted into DOM, to possess properties and methods.&lt;br /&gt;&lt;br /&gt;03. JAVA, PERLS and PYTHON langauage supports for DOM manipulations. Key charecteristics is that such langauge are object-oriented.&lt;br /&gt;&lt;br /&gt;Longer Question&lt;br /&gt;01.&lt;br /&gt;a)&lt;br /&gt;?xml version ="1.0" encoding="UTF-8"&gt;&lt;br /&gt;xs:schema xmlna:xs="http://www,w3.org/2001/XMLSchema"&gt;&lt;br /&gt;&lt;br /&gt;b)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;c)&lt;br /&gt;xs:element name=”payment-doc” type=”electronic_payment_type&gt;&lt;br /&gt;xs:element&gt;&lt;br /&gt;xs:comlex type name=”electronic_payment_type”&gt;&lt;br /&gt;xs:sequence&gt;&lt;br /&gt; 	xs:element name=”Sender” type=”institution_type”/&gt;&lt;br /&gt;               xs:element name=”Receiver” type=”institution_type”/&gt;&lt;br /&gt;xs:element name=”Transection” type=”transection_type” maxOccurs=”unbounded”/&gt;&lt;br /&gt;/xs:sequence&gt;&lt;br /&gt;/xs:complexType&gt;&lt;br /&gt; &lt;br /&gt;d)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;e)&lt;br /&gt;xs:complexType name=”transection_type”&lt;br /&gt;xs:all&gt;&lt;br /&gt;  xs:slement name=”number” type=”xs:integer”/&gt;&lt;br /&gt;  xs:element name=”amount”&gt;&lt;br /&gt;xs:simpleType&gt;&lt;br /&gt;   xs:restrcition base=”xs:decimal”&gt;&lt;br /&gt;   xs:fractionDigits value”2”&gt;&lt;br /&gt;  /xs:restriction&gt;&lt;br /&gt;&lt;br /&gt;xs:element name=”date” type=”xs:”&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;xs:element name=”recounciled” type=”xs:boolean”&gt;&lt;br /&gt;/xs:all&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;Thank you for your feedback&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1187612864470147939-3852492020901669202?l=krishlk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krishlk.blogspot.com/feeds/3852492020901669202/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://krishlk.blogspot.com/2010/01/week-13-xml-schema.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1187612864470147939/posts/default/3852492020901669202'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1187612864470147939/posts/default/3852492020901669202'/><link rel='alternate' type='text/html' href='http://krishlk.blogspot.com/2010/01/week-13-xml-schema.html' title='Week -13  XML Schema'/><author><name>Rathakrishnan</name><uri>http://www.blogger.com/profile/10083727258947933608</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1187612864470147939.post-8330499161834277512</id><published>2009-12-02T02:26:00.000-08:00</published><updated>2009-12-02T04:04:49.789-08:00</updated><title type='text'>Week -10</title><content type='html'>Quck question&lt;br /&gt;&lt;br /&gt;01) &lt;br /&gt;the most specific form of the rule will take effect, and the other rule will be ignored.&lt;br /&gt;&lt;br /&gt;Longer Questions&lt;br /&gt;&lt;br /&gt;02) Only if the item 10000 was in an elemetn of its own. something like this.&lt;br /&gt;&lt;br /&gt;&lt;histoy&gt;The grandold&lt;name&gt;duke&lt;/name&gt;&lt;/history&gt;&lt;br /&gt;&lt;br /&gt;Longer Questions&lt;br /&gt;&lt;br /&gt;01) &lt;br /&gt;&lt;br /&gt;chemElements&lt;br /&gt;{&lt;br /&gt;width:90%;&lt;br /&gt;background-color:#aabbaa;&lt;br /&gt;font-family:arial;&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;tableHead&lt;br /&gt;{&lt;br /&gt;color:#001100;&lt;br /&gt;font-weight:bold;&lt;br /&gt;font-size:17px;&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;anumHead,nameHead,symbolHead,mptHead,bptHead&lt;br /&gt;{&lt;br /&gt;    float: left;&lt;br /&gt;    width: 20%;&lt;br /&gt;    background-color:#aaaa;&lt;br /&gt;&lt;br /&gt;    &lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;element&lt;br /&gt;{&lt;br /&gt;display:block;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;anum,name,symbol,mp,bt&lt;br /&gt;{&lt;br /&gt;float: left;&lt;br /&gt;width: 20%;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;02)&lt;br /&gt;a)&lt;br /&gt;&lt;br /&gt;/*&lt;br /&gt;&lt;br /&gt;b)&lt;br /&gt;&lt;br /&gt;tracks[@total="5"]&lt;br /&gt;&lt;br /&gt;c)&lt;br /&gt;title[contains(name),"Penderecki"]&lt;br /&gt;&lt;br /&gt;d)&lt;br /&gt;title[string-length(name))&gt;11]&lt;div class="blogger-post-footer"&gt;Thank you for your feedback&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1187612864470147939-8330499161834277512?l=krishlk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krishlk.blogspot.com/feeds/8330499161834277512/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://krishlk.blogspot.com/2009/12/week-10.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1187612864470147939/posts/default/8330499161834277512'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1187612864470147939/posts/default/8330499161834277512'/><link rel='alternate' type='text/html' href='http://krishlk.blogspot.com/2009/12/week-10.html' title='Week -10'/><author><name>Rathakrishnan</name><uri>http://www.blogger.com/profile/10083727258947933608</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1187612864470147939.post-7747493177086029629</id><published>2009-12-02T02:25:00.001-08:00</published><updated>2009-12-02T02:26:50.121-08:00</updated><title type='text'>Week - 09</title><content type='html'>We did a exam on this week about we learnt so far from the first week of the lecture.&lt;br /&gt;We preapared for the multiple questions and wrriten the answers for it.&lt;div class="blogger-post-footer"&gt;Thank you for your feedback&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1187612864470147939-7747493177086029629?l=krishlk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krishlk.blogspot.com/feeds/7747493177086029629/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://krishlk.blogspot.com/2009/12/week-09.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1187612864470147939/posts/default/7747493177086029629'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1187612864470147939/posts/default/7747493177086029629'/><link rel='alternate' type='text/html' href='http://krishlk.blogspot.com/2009/12/week-09.html' title='Week - 09'/><author><name>Rathakrishnan</name><uri>http://www.blogger.com/profile/10083727258947933608</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1187612864470147939.post-9151354600571958557</id><published>2009-11-18T02:23:00.000-08:00</published><updated>2009-11-18T04:10:03.462-08:00</updated><title type='text'>Week - 08</title><content type='html'>01) a) No. CSS cannot rearrange the order.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;b) It is possible. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;c) &amp;lt;?xml version="1.0" encoding="ISO-8859-1"?&amp;gt;&lt;br /&gt;&amp;lt;?xml-stylesheet type="text/css" href="legalWrit.css"?&amp;gt;&lt;br /&gt;&lt;br /&gt;02) Different between URI and URL&lt;br /&gt;&lt;br /&gt;URI - Uniform Resources identifier is a string of charector used to identify the internet Locator.&lt;br /&gt;&lt;br /&gt;URL - Uniform Resources locator is a part of URI and it specifies the global  address of documents and other resources on the World Wide Web.&lt;br /&gt;&lt;br /&gt; Eg: ftp://www.krishlk.com/stuff.exe&lt;br /&gt;     http://www.krishlk.com/index.html&lt;br /&gt;&lt;br /&gt;03) XML langauge Namespaces.&lt;br /&gt;&lt;br /&gt;The purpose of an XML namespace is to allow the deployment of XML vocabularies (Elements and attrubutes) in a public environment and to reduce the risk of name collisions in a given document when vocabularies are combined.XML namespaces are used for providing uniquely named elements and attributes in an XML document. &lt;br /&gt;&lt;br /&gt;Longer Questions&lt;br /&gt;&lt;br /&gt;01) &lt;br /&gt;&lt;br /&gt;meme.xml&lt;br /&gt;&lt;br /&gt;&amp;lt;?xml version="1.0"?&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;?xml-stylesheet href="stylesheet01.css" type="text/css"?&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;!DOCTYPE memo&amp;gt;&lt;br /&gt;&amp;lt;!--&lt;br /&gt;    Document   : memo1.xml&lt;br /&gt;    Created on : 2009/11/18&lt;br /&gt;    Author     : &lt;br /&gt;    Description:&lt;br /&gt;        Purpose of the document follows.&lt;br /&gt;--&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;memo&amp;gt;&lt;br /&gt;&amp;lt;id&gt;message&amp;gt;/id&amp;gt;&lt;br /&gt; &amp;lt;date&gt;18 November 09&amp;gt;/date&amp;gt;&lt;br /&gt; &amp;lt;time&gt;09.30&amp;gt;/time&amp;gt;&lt;br /&gt; &amp;lt;from&gt;from: the Managing Director&amp;gt;/from&amp;gt;&lt;br /&gt; &amp;lt;to&gt;To: heads of all Departments&amp;gt;/to&amp;gt;&lt;br /&gt; &amp;lt;message&gt;We must increase production. And increasing sales would be no bad thing either.&amp;gt;/message&amp;gt;&lt;br /&gt;&amp;gt;/memo&amp;gt;&lt;br /&gt;&lt;br /&gt;Stylesheet01.css&lt;br /&gt;&lt;br /&gt;memo{&lt;br /&gt;display:block;&lt;br /&gt;margin:1em;&lt;br /&gt;}&lt;br /&gt;id{&lt;br /&gt;display:block;&lt;br /&gt;margin:1em; &lt;br /&gt;color:"dark blue"; text-align:left;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;date{&lt;br /&gt;display:block;&lt;br /&gt;margin:1em; &lt;br /&gt;color:"dark blue"; text-align:left;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;time{&lt;br /&gt;display:block;&lt;br /&gt;margin:1em; &lt;br /&gt;color:aqua; text-align:left;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;from,to{&lt;br /&gt;display:block;&lt;br /&gt;margin:1em; &lt;br /&gt;color:green; text-align:left;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;message{&lt;br /&gt;display:block;&lt;br /&gt;margin:1em; &lt;br /&gt;color:aqua; text-align:left;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Answer: The purpose to use the Display: block is to insert the new line brek between the tags.&lt;div class="blogger-post-footer"&gt;Thank you for your feedback&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1187612864470147939-9151354600571958557?l=krishlk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krishlk.blogspot.com/feeds/9151354600571958557/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://krishlk.blogspot.com/2009/11/week-08.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1187612864470147939/posts/default/9151354600571958557'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1187612864470147939/posts/default/9151354600571958557'/><link rel='alternate' type='text/html' href='http://krishlk.blogspot.com/2009/11/week-08.html' title='Week - 08'/><author><name>Rathakrishnan</name><uri>http://www.blogger.com/profile/10083727258947933608</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1187612864470147939.post-6964853424172347549</id><published>2009-11-11T04:01:00.000-08:00</published><updated>2009-11-11T04:03:29.590-08:00</updated><title type='text'>Week - 07</title><content type='html'>Qick Questions&lt;br /&gt;&lt;br /&gt;1) CDATA Sections&lt;br /&gt;cdata-section-elements takes a whitespace-separated list of element names, e.g.&lt;br /&gt;&lt;br /&gt;pre class="programlisting"&gt;cdata-section-elements="a b c d e"&lt;br /&gt;(for use the number of charectors such as &lt; &lt;br /&gt;&lt;br /&gt;c) yes. &amp;lt; for &lt;&gt;&lt;br /&gt;&lt;br /&gt;2) XML Parser The parser converts XML into a JavaScript accessible object (XML DOM) and validating the xml dovument. parser reads XML, and converts it into an XML DOM.        3) Yes. We can specify this in dtd file by using like this.    jhk&lt;div class="blogger-post-footer"&gt;Thank you for your feedback&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1187612864470147939-6964853424172347549?l=krishlk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krishlk.blogspot.com/feeds/6964853424172347549/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://krishlk.blogspot.com/2009/11/week-07.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1187612864470147939/posts/default/6964853424172347549'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1187612864470147939/posts/default/6964853424172347549'/><link rel='alternate' type='text/html' href='http://krishlk.blogspot.com/2009/11/week-07.html' title='Week - 07'/><author><name>Rathakrishnan</name><uri>http://www.blogger.com/profile/10083727258947933608</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1187612864470147939.post-713024794548133562</id><published>2009-11-11T02:16:00.000-08:00</published><updated>2009-11-11T04:01:39.187-08:00</updated><title type='text'>Questions - Week 07</title><content type='html'>Qick Questions&lt;br /&gt;&lt;br /&gt;1) CDATA Sections&lt;br /&gt;cdata-section-elements takes a whitespace-separated list of element names, e.g. &lt;pre class="programlisting"&gt;cdata-section-elements="a b c d e"&lt;br /&gt;(for use the number of charectors such as &lt;  c) yes. &amp;lt; for &lt; and &amp;amp;amp for &amp;amp;.    &lt;br /&gt;&lt;br /&gt;2) XML Parser The parser converts XML into a JavaScript accessible object (XML DOM) and validating the xml dovument. parser reads XML, and converts it into an XML DOM.       3) Yes. We can specify this in dtd file by using like this.    jhk    &lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;Thank you for your feedback&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1187612864470147939-713024794548133562?l=krishlk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krishlk.blogspot.com/feeds/713024794548133562/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://krishlk.blogspot.com/2009/11/questions-week-07.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1187612864470147939/posts/default/713024794548133562'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1187612864470147939/posts/default/713024794548133562'/><link rel='alternate' type='text/html' href='http://krishlk.blogspot.com/2009/11/questions-week-07.html' title='Questions - Week 07'/><author><name>Rathakrishnan</name><uri>http://www.blogger.com/profile/10083727258947933608</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1187612864470147939.post-2052072924410947661</id><published>2009-11-04T02:06:00.000-08:00</published><updated>2009-11-04T04:06:34.423-08:00</updated><title type='text'>Week-06 Questions</title><content type='html'>01) what exacltly does a DTD do in XML?&lt;br /&gt;An DTD document describes an XML document such as elements, attributes and entities.&lt;br /&gt;&lt;br /&gt;02) Nothing. We can use it same as it is.&lt;br /&gt;&lt;br /&gt;03) can you use a binary graphics file in an XML document?&lt;br /&gt;Yes. we can use the binary file and parse it into parser.&lt;br /&gt;&lt;br /&gt;Longer Questions:&lt;br /&gt;&lt;br /&gt;01) Root Elemetn&lt;br /&gt;a)  i will use it as &amp;gt;? russianLang?&amp;lt;&lt;br /&gt;&lt;br /&gt;b)&lt;br /&gt;&lt;pre class="code"&gt;&amp;lt;? xml version="1.0" encoding="UTF-8"/?&amp;gt;&lt;br /&gt;&amp;lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"&lt;br /&gt;"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&lt;span style="font-family:Georgia,serif;"&gt; &amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;&lt;pre class="code"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;c)write a dtd file&lt;br /&gt;&amp;lt;!DOCTYPE phraseBook [&lt;br /&gt;&amp;lt;!ELEMENT section(sectiontitle,phraseGroup)&gt;&lt;br /&gt;&amp;lt;!ELEMENT phraseGroup(engPhrase,translitPhrase,targLangPharse,gloss)&amp;gt;&lt;br /&gt;&amp;lt;!ELEMENT sectiontitle(#PCDATA)&amp;gt;&lt;br /&gt;&amp;lt;!ELEMENT engPhrase(#PCDATA)&amp;gt;&lt;br /&gt;&amp;lt;!ELEMENT translitPhrase(#PCDATA)&amp;gt;&lt;br /&gt;&amp;lt;!ELEMENT targLangPharse(#PCDATA)&amp;gt;&lt;br /&gt;&amp;lt;!ELEMENT gloss(#PCDATA)&amp;gt;&lt;br /&gt;&amp;lt;!ATTLIST phraseBook targLang CDATA #REQUIRED&amp;gt;&lt;br /&gt;]&amp;gt;&lt;br /&gt;&lt;br /&gt;d)&lt;br /&gt;&amp;lt;? xml version="1.0" encoding="UTF-8"/?&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;Thank you for your feedback&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1187612864470147939-2052072924410947661?l=krishlk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krishlk.blogspot.com/feeds/2052072924410947661/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://krishlk.blogspot.com/2009/11/week-06-questions.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1187612864470147939/posts/default/2052072924410947661'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1187612864470147939/posts/default/2052072924410947661'/><link rel='alternate' type='text/html' href='http://krishlk.blogspot.com/2009/11/week-06-questions.html' title='Week-06 Questions'/><author><name>Rathakrishnan</name><uri>http://www.blogger.com/profile/10083727258947933608</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1187612864470147939.post-7287464173095137802</id><published>2009-10-28T02:56:00.000-07:00</published><updated>2009-10-28T04:36:59.667-07:00</updated><title type='text'></title><content type='html'>&lt;span style="font-weight:bold;"&gt;Week 05&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Qucik Questions&lt;br /&gt;&lt;br /&gt;1. Yes. tthe prolog is missing. &lt;br /&gt;&lt;br /&gt;Eg: &amp;lt;b&amp;gt;bold&amp;gt;&amp;lt;b&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;2. Different between well-formed and Valid XML&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;well-formed&lt;/span&gt;&lt;br /&gt;well-formed XML is syntactically correct.&lt;br /&gt;Not missing any closing tags and having your closing tags in the right order.&lt;br /&gt;Generally Well-formed document cannot break any of the syntax rules.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Valid XML&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Valid XML is XML that succeeds validation against a DTD. valid xml is always well-formed but well-formed xml is not always valid.&lt;br /&gt;valid XML is semantically correct&lt;br /&gt;&lt;br /&gt;3. Yes.&lt;br /&gt;A comment allows people editing your XML to understand the different parts of the document. The comments are ignored by the browser or parser. So we can write any comment wht we want. It is really easy to unsderstand the code. So it wont give any confuse about coding.&lt;br /&gt;&lt;br /&gt;&amp;lt;!DOCTYPE collegetextbook [&lt;br /&gt;&amp;lt;!ELEMENT collegetextbook (titlepage,author,publisher,isbn,chapters )&gt;&lt;br /&gt;&amp;lt;!ELEMENT titlepage (#PCDATA)&amp;gt;&lt;br /&gt;&amp;lt;!ELEMENT author (#PCDATA)&amp;gt;&lt;br /&gt;&amp;lt;!ELEMENT publisher (#PCDATA)&amp;gt;&lt;br /&gt;&amp;lt;!ELEMENT isbn (#PCDATA)&amp;gt;&lt;br /&gt;&amp;lt;!ELEMENT chapters (#PCDATA)&amp;gt;&lt;br /&gt;&amp;lt;!ATTLIST chapters chapterNo CDATA #REQUIRED&amp;gt;&lt;br /&gt;]&amp;gt;&lt;br /&gt;&lt;br /&gt;2. XML&lt;div class="blogger-post-footer"&gt;Thank you for your feedback&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1187612864470147939-7287464173095137802?l=krishlk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krishlk.blogspot.com/feeds/7287464173095137802/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://krishlk.blogspot.com/2009/10/week-05-qucik-questions-1.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1187612864470147939/posts/default/7287464173095137802'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1187612864470147939/posts/default/7287464173095137802'/><link rel='alternate' type='text/html' href='http://krishlk.blogspot.com/2009/10/week-05-qucik-questions-1.html' title=''/><author><name>Rathakrishnan</name><uri>http://www.blogger.com/profile/10083727258947933608</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1187612864470147939.post-6821991815728530479</id><published>2009-10-21T02:02:00.000-07:00</published><updated>2009-10-21T04:11:11.772-07:00</updated><title type='text'>Laboratory -04 Questions XML,</title><content type='html'>1. What is XML stand for? and CSS&lt;br /&gt;XML -&gt; Extensible Markup Language&lt;br /&gt;CSS   -&gt; Cascading Style Sheet&lt;br /&gt;&lt;br /&gt;2. Is this well formed? say why.&lt;br /&gt;&amp;lt;b&amp;gt; &amp;lt;i&amp;gt;This text is bold and italic&amp;lt;b&amp;gt;&amp;lt;/i&amp;gt;&lt;br /&gt;&lt;br /&gt;No. Becuase the tags are not nested properly. it shold be like this,&lt;br /&gt;&amp;lt;b&amp;gt; &amp;lt;i&amp;gt;This text is bold and italic&amp;lt;i&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;&lt;br /&gt;3. Is this xml dovument well formed?&lt;br /&gt;&lt;br /&gt;&amp;lt;?xml version="1.0" ?&amp;gt;&lt;br /&gt;&amp;lt;greeting&amp;gt;&lt;br /&gt;Hellow,world!&lt;br /&gt;&amp;lt;greeting&amp;gt;&lt;br /&gt;&amp;lt;greeting&amp;gt;&lt;br /&gt;Hellow  Mars too!&lt;br /&gt;&amp;lt;/greeting&amp;gt;&lt;br /&gt;&lt;br /&gt;Yes. Becuase all the tags are properly closed and in the nested order and also it is not case sensitive.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Longer Question&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1. XML document with the following information.&lt;br /&gt;Name of the class, room name, start time and end time.&lt;br /&gt;&lt;br /&gt;&amp;lt;?xml version="1.0"?&amp;gt;&lt;br /&gt;&amp;lt;myinfo&amp;gt;&lt;br /&gt;&amp;lt;course&amp;gt;Internet Application Development&amp;lt;/course&gt;&lt;br /&gt;&amp;lt;building&amp;gt;hatchcraft&amp;lt;/building&amp;gt;&lt;br /&gt;&amp;lt;roomName&amp;gt;H104&amp;lt;/roomName&amp;gt;&lt;br /&gt;&amp;lt;startTime HH="09" MM="30"&gt;09:30&amp;lt;/startTime&amp;gt;&lt;br /&gt;&amp;lt;endTime HH="12" MM="30"&gt;12:30&amp;lt;/endTime&amp;gt;&lt;br /&gt;&amp;lt;/myinfo&amp;gt;&lt;br /&gt;&lt;br /&gt;2. &lt;span style="font-weight: bold;"&gt;Wrong syntax&lt;/span&gt;&lt;br /&gt;i)   &amp;lt;1stEdition&amp;gt;2005&amp;lt;/1stEdition&amp;gt; //cannot start with number&lt;br /&gt;ii)  &amp;lt;2ndEdition&amp;gt;2005&amp;lt;/2ndEdition&amp;gt; //cannot start with number&lt;br /&gt;iii) &amp;lt;price&amp;gt;19.99&amp;lt;/price&amp;gt; //wrong attributes placement&lt;br /&gt;iv)  &amp;lt;!--est selling --&amp;gt;&lt;br /&gt;v)   &amp;lt;/Price&amp;gt;    //case sensitive&lt;br /&gt;vi)  &amp;lt;1stEdition&amp;gt;2005&amp;lt;/1stEdition&amp;gt; //cannot start with number&lt;br /&gt;vii) &amp;lt;1stEdition&amp;gt;2003&amp;lt;/1stEdition&amp;gt; //cannot start with number&lt;br /&gt;viii)&amp;lt;2ndEdition&amp;gt;2008&amp;lt;/2ndEdition&amp;gt; //cannot start with number&lt;br /&gt;ix)   &amp;lt;discount&amp;gt;29.95&amp;lt;/discount &amp;gt; //wrong closing tag&lt;br /&gt;x)  &amp;lt;author&amp;gt;&amp;lt;!--other authors not listed --&amp;gt;&amp;gt;&amp;lt;/author&amp;gt; // commenting tag&lt;br /&gt;xi) &amp;lt;1stEdition&amp;gt;1994&amp;lt;/1stEdition&amp;gt; //cannot start with number&lt;br /&gt;xii) ix)   &amp;lt;discount&amp;gt;29.95&amp;lt;/discount &amp;gt; //wrong closing tag&lt;br /&gt;xiii) ix)   &amp;lt;bookstore&amp;gt;&amp;lt;/bookstore &amp;gt; //no closing tag for bookstore&lt;br /&gt;&lt;br /&gt;03.  Creating a DTD for a XML&lt;br /&gt;&lt;br /&gt;&amp;lt;!DOCTYPE memo&lt;br /&gt;[&lt;br /&gt;&amp;lt;!ELEMENT memo (to,from,heading,body,date,securityClass?)&amp;gt;&lt;br /&gt;&amp;lt;!ELEMENT to (#PCDATA)&amp;gt;&lt;br /&gt;&amp;lt;!ELEMENT from (#PCDATA)&amp;gt;&lt;br /&gt;&amp;lt;!ELEMENT heading (#PCDATA)&amp;gt;&lt;br /&gt;&amp;lt;!ELEMENT body (#PCDATA)&amp;gt;&lt;br /&gt;&amp;lt;!ELEMENT date (#PCDATA)&amp;gt;&lt;br /&gt;&amp;lt;!ELEMENT sn (#PCDATA)&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;!ATTLIST memo sn (#PCDATA requirment)&amp;gt;&lt;br /&gt;&lt;br /&gt;]&amp;gt;&lt;div class="blogger-post-footer"&gt;Thank you for your feedback&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1187612864470147939-6821991815728530479?l=krishlk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krishlk.blogspot.com/feeds/6821991815728530479/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://krishlk.blogspot.com/2009/10/laboratory-04-questions.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1187612864470147939/posts/default/6821991815728530479'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1187612864470147939/posts/default/6821991815728530479'/><link rel='alternate' type='text/html' href='http://krishlk.blogspot.com/2009/10/laboratory-04-questions.html' title='Laboratory -04 Questions XML,'/><author><name>Rathakrishnan</name><uri>http://www.blogger.com/profile/10083727258947933608</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1187612864470147939.post-3246126833511583029</id><published>2009-10-14T03:48:00.001-07:00</published><updated>2009-10-14T04:42:42.428-07:00</updated><title type='text'>XML - Lab Seesion 3</title><content type='html'>&lt;span style="font-weight: bold;font-size:85%;" &gt;Lab Session 3&lt;/span&gt;&lt;br /&gt;Today we learnt following things in XML.&lt;br /&gt;XML (Extensible Markup Language)&lt;br /&gt;XML Declations &amp;amp; Comments&lt;br /&gt;Tags and Naming Convention in XML with an example of tute&lt;br /&gt;XML Attributes&lt;br /&gt;XSL&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;We created a Simple xml file in class.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;DTD (Document Type Defination)&lt;/span&gt;&lt;br /&gt;Internal DTD Declaration&lt;br /&gt;&lt;!DOCTYPE root-element [element-declarations]&gt;&lt;br /&gt;&lt;br /&gt;&lt;student dob="10/09/1986"&gt;&lt;name&gt;&lt;/name&gt;&lt;/student&gt;&lt;student dob="10/09/1986"&gt;External DTD Declaration&lt;br /&gt;&lt;!DOCTYPE root-element SYSTEM "filename"&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CDATA&lt;/span&gt;&lt;br /&gt;CDATA means character data.&lt;br /&gt;&lt;hometown&gt;&lt;/hometown&gt;&lt;/student&gt;&lt;div class="blogger-post-footer"&gt;Thank you for your feedback&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1187612864470147939-3246126833511583029?l=krishlk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krishlk.blogspot.com/feeds/3246126833511583029/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://krishlk.blogspot.com/2009/10/xml-lab-seesion-3.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1187612864470147939/posts/default/3246126833511583029'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1187612864470147939/posts/default/3246126833511583029'/><link rel='alternate' type='text/html' href='http://krishlk.blogspot.com/2009/10/xml-lab-seesion-3.html' title='XML - Lab Seesion 3'/><author><name>Rathakrishnan</name><uri>http://www.blogger.com/profile/10083727258947933608</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1187612864470147939.post-4168412879846152314</id><published>2009-10-02T02:06:00.000-07:00</published><updated>2009-10-03T07:59:24.823-07:00</updated><title type='text'>Initial Questions</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_EjXWwP0xMvg/SsYcdUKwBOI/AAAAAAAAAMw/wz3bCKMGyCU/s1600-h/275px-HTML.svg.png"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 176px; height: 200px;" src="http://2.bp.blogspot.com/_EjXWwP0xMvg/SsYcdUKwBOI/AAAAAAAAAMw/wz3bCKMGyCU/s200/275px-HTML.svg.png" alt="" id="BLOGGER_PHOTO_ID_5388025294150960354" border="0" /&gt;&lt;/a&gt;&lt;span style="font-weight: bold;font-family:arial;" &gt;What is HTML&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;HTML, which stands for Hyper Text Markup Language, is the predominant markup language for web pages. It provides a means to create structured documents by denoting structural semantics for text such as headings, paragraphs, lists etc as well as for links, quotes, and other items. It allows images and objects to be embedded and can be used to create interactive forms. It is written in the form of HTML elements consisting of "tags" surrounded by angle brackets within the web page content.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-weight: bold;font-family:arial;" &gt;    &lt;/span&gt;&lt;span style="font-family:arial;"&gt;HTML stands for Hyper Text Markup Language&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:arial;"&gt;     HTML is not a programming language, it is a markup language&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:arial;"&gt;     A markup language is a set of markup tags&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:arial;"&gt;     HTML uses markup tags to describe web pages &lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-weight: bold;"&gt;What is XHTML?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Extensible Hypertext Markup Language, or XHTML, is a family of XML markup languages that mirror or extend versions of the widely used Hypertext Markup Language (HTML), the language in which web pages are written.&lt;/span&gt;&lt;span style="font-weight: bold;font-family:arial;" &gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Versions of XHTML&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;XHTML 1.0&lt;br /&gt;&lt;br /&gt;December 1998 saw the publication of a W3C Working Draft entitled Reformulating HTML in XML. This introduced Voyager, the codename for a new markup language based on HTML 4 but adhering to the stricter syntax rules of XML. By February 1999 the specification had changed name to XHTML 1.0: The Extensible HyperText Markup Language, and in January 2000 it was officially adopted as a W3C Recommendation.&lt;br /&gt;&lt;br /&gt;XHTML 1.0 Strict is the XML equivalent to strict HTML 4.01, and includes elements and attributes that have not been marked deprecated in the HTML 4.01 specification.&lt;br /&gt;&lt;br /&gt;XHTML 1.0 Transitional is the XML equivalent of HTML 4.01 Transitional, and includes the&lt;br /&gt;presentational elements (such as center, font and strike) excluded from the strict version.&lt;br /&gt;&lt;br /&gt;XHTML 1.0 Frameset is the XML equivalent of HTML 4.01 Frameset, and allows for the definition of frameset documents—a common Web feature in the late 1990s.&lt;br /&gt;&lt;br /&gt;The second edition of XHTML 1.0 became a W3C Recommendation in August 2002.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;What is XML&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;XML (Extensible Markup Language) is a set of rules for encoding documents electronically. It is defined in the XML 1.0 Specification produced by the W3C and several other related specifications; all are fee-free open standards.&lt;br /&gt;&lt;br /&gt;XML’s design goals emphasize simplicity, generality, and usability over the Internet. It is a textual data format, with strong support via Unicode for the languages of the world. Although XML’s design focuses on documents, it is widely used for the representation of arbitrary data structures, for example in web services.&lt;br /&gt;&lt;br /&gt;There are a variety of programming interfaces which software developers may use to access XML data, and several schema systems designed to aid in the definition of XML-based languages.&lt;br /&gt;&lt;br /&gt;As of 2009, hundreds of XML-based languages have been developed, including RSS, Atom, SOAP, and XHTML. XML-based formats have become the default for most office-productivity tools, including Microsoft Office, OpenOffice.org, and Apple's iWork.&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-family:arial;" &gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;Thank you for your feedback&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1187612864470147939-4168412879846152314?l=krishlk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krishlk.blogspot.com/feeds/4168412879846152314/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://krishlk.blogspot.com/2009/10/initial-questions.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1187612864470147939/posts/default/4168412879846152314'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1187612864470147939/posts/default/4168412879846152314'/><link rel='alternate' type='text/html' href='http://krishlk.blogspot.com/2009/10/initial-questions.html' title='Initial Questions'/><author><name>Rathakrishnan</name><uri>http://www.blogger.com/profile/10083727258947933608</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_EjXWwP0xMvg/SsYcdUKwBOI/AAAAAAAAAMw/wz3bCKMGyCU/s72-c/275px-HTML.svg.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1187612864470147939.post-7850472383513331379</id><published>2009-01-26T21:48:00.000-08:00</published><updated>2009-01-26T21:51:37.682-08:00</updated><title type='text'></title><content type='html'>&lt;a href="http://www.nishshanka.net/2009/01/ctlaltdel-power-saving-speech-by-dr-apj.html"&gt;&lt;span style="font-size:130%;"&gt;CTL+ALT+DEL / POWER SAVING A Speech By Dr. A.P.J. Abdul Kalam&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;Jan 27, 2009 by krishnan&lt;br /&gt;&lt;br /&gt;Be the Change You Want to See!&lt;br /&gt;&lt;br /&gt;To All Those Who do not TRUN OFF Their PC's, AC's Lights Before Leving Office......-Speech By Dr. A.P.J. Abdul Kalam (Former President of India &amp;amp; Renowned Indian Scientist)Most of us in the IT field do one thing before leving for the day from office Press CTRL + ALT + DEL and leave happily that means your pc is still on.&lt;br /&gt;&lt;br /&gt;one normal PC in sleep Mode (Hibernation) will consume 35 Watts/Hour. Based on this let's do a small calculation.For one week, 24 * 7 = 168 hours. Of this if we consider that we are working for 68 hours, than the pc is in Sleep mode for 100 hopurs a week. For one month, 4 * 100 = 400 hours. in a normal IT office, if we assume approximately 250 PCs are there 250 * 400 = 1,00,000 hours (Sleep Mode). So, the power wasted in an office in a month is 1,00,000 * 35 = 3500 KWH or units. if the charge per unit is indian rs. 6, then totally the wastage value is approximately indian Rs. 21,000Here the sad thing is not the money loss to the company but the power loss to the country. (Hope no company is bothered about this procedure of keeping the system in sleep mode.)apart from the loss to the country, we need to think of the efforts people are putting for producing the power in the mines, Thermal Stations, Hydro Electric Stations, etc. If this is to continue, the cost of unit power will go up and, at one stage, we will not get power even if were ready to pay any cost.So, before leaving office, take some time to shut down the PC and do some favour to the country and the organisation.Who is Dr. A.P.J. Abdul&lt;div class="blogger-post-footer"&gt;Thank you for your feedback&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1187612864470147939-7850472383513331379?l=krishlk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krishlk.blogspot.com/feeds/7850472383513331379/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://krishlk.blogspot.com/2009/01/ctlaltdel-power-saving-speech-by-dr.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1187612864470147939/posts/default/7850472383513331379'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1187612864470147939/posts/default/7850472383513331379'/><link rel='alternate' type='text/html' href='http://krishlk.blogspot.com/2009/01/ctlaltdel-power-saving-speech-by-dr.html' title=''/><author><name>Rathakrishnan</name><uri>http://www.blogger.com/profile/10083727258947933608</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
