Skip to main content

Posts

XML SCRIPTING

XML Language can be understood as a generic language used to describe other markup languages. You need to understand that XML makes a clear distinction between the markup and the content of the webpage. Here markup implies tags and attributes that are being used in the XML document and content refers to the information being presented in the document. E.g. < p > XML is used to store data in a structured way < /p > In this example < p >…. </p > refers to the markup being used in the document and the text written between these tags refer to the content of the document. You can say that markup is actually used to describe the presentation of the content. This is done using standard tags and attributes that are available in HTML. You will find that the XML markup is generally used to describe the content of the document and is not related with the appearance of the document. E.g. < quiz answer=”Qutab Minar” > Can you name a famous monument in delhi?...

Difference between HTML and XML

You need to understand that you will not use XML for replacing HTML. Both XML and HTML have been designed for different goals which can be summarized as follows: a. XML is designed specifically for describing and structuring the data where as HTML is used for formatting and displaying the data. b. XML is focused on defining data with its attributes. It basically tells what data is all about. HTML is focused on presentation of data and is used to customize looks of data. c. In case of HTML Document tags to be used and the structure of the documents are predefined. While using HTML you can only use tags which are pre-defined in the HTML standards. In case of XML you can define your own tags and develop your own document structure. d. An XML document is saved with an extension .XML whereas an HTML document is saved as .HTML. E.g. The following example is an e-mail from Ram to Shyam stored as XML < email > < to > Ram </to > < from > Shyam ...

CHARACTERISTICS OF XML

XML stands for ‘Extensible Markup Language’. It is a general-purpose specification which is commonly used for creating custom markup languages. It is an extensible language as it provides its users an ability to define their own elements. Thus it enables users to create custom tags that suit their requirement. XML has been primarily developed to information systems share their structured data online. It can be used to encode documents as well as to serialize data so that it can be efficiently used. Some of the features of XML have been summarized below: 1. XML can be understood as an extensible language which is freely available. 2. XML tags are user made tags. They are not predefined tags. In case of HTML predefined tags are used (like < p >, < h1 > etc.). While using XML users can define custom tags and develop document structure as per their requirement. 3. XML is not a replacement for HTML. It is actually a complement to HTML. Both scripting languages have ...

Introduction to XML

Dear Students In this an subsequent posts we will read about XML. We will be covering following topics in XML. • List the applications and advantages of XML • Create well-formed and valid XML documents. • Make a XHTML document. • Create XM DTD • Use XSL for transforming XML data and display it in a Web browser. • Apply data binding and the Document Object Model for displaying dynamic XML data in a Web browser.

JAVASCRIPT Problems

Hello Students check these javascript problems Add new elemts at the beginning of array <html > <body > <script language="javascript" > var scripts=new Array(); scripts[0]="PHP"; scripts[1]="ASP"; scripts[2]="JAVASCRIPT"; scripts[3]="HTML"; document.write(scripts.join("< br > ")); document.write("< br >---- NOW AFTER APPLYING unshift()---< br >"); scripts.unshift("VBSCRIPT","PERL"); document.write(scripts.join("< br >")); </script > </body > </html > Display Today's date and Time < html > < title > < /title > < body > < script language="javascript" > var d=new Date; document.write("< b > "+d); < /script > < /body > < /html > Add an element to position 2 in an array < html > < body > < script type=...

DEVELOPING MIS – DOS AND DON’TS

DO’s Have simpler and manageable system Develop common understanding between consultant and the organization Involve programmer in needs assessment Customize off-the-shelf software Have simple software for users to handle Extensively involve users in MIS development Adopt modular approach for s/w development DON’Ts Be ambitious Be unrealistic in developing action plan Delay decisions on hiring application developer/s Depend heavily on the Consultant Invest heavily in in-house application development Let vendors determine hardware needs for LAN Go for large applications NOOPUR GARG BBA/4536/07