Geschreven door studenten die geslaagd zijn Direct beschikbaar na je betaling Online lezen of als PDF Verkeerd document? Gratis ruilen 4,6 TrustPilot
logo-home
College aantekeningen

Xml language

Beoordeling
-
Verkocht
-
Pagina's
8
Geüpload op
05-09-2024
Geschreven in
2024/2025

Lecture notes of 8 pages for the course 22k at ACCA - Oxford Brookes University (Xml basics.)

Instelling
Vak

Voorbeeld van de inhoud

Unit – 4
1. XML BASICS & INTRODUCTION :

XML is a software- and hardware-independent tool for storing and transporting data.
What is XML?

• XML stands for eXtensible Markup Language
• XML is a markup language much like HTML
• XML was designed to store and transport data
• XML was designed to be self-descriptive
• XML is a W3C Recommendation

XML and HTML were designed with different goals:

• XML was designed to carry data - with focus on what data is
• HTML was designed to display data - with focus on how data looks
• XML tags are not predefined like HTML tags are

XML Does Not Use Predefined Tags

• The XML language has no predefined tags.

• The tags in the example above (like <to> and <from>) are not defined in any XML
standard. These tags are "invented" by the author of the XML document.

• HTML works with predefined tags like <p>, <h1>, <table>, etc.

• With XML, the author must define both the tags and the document structure.

Example
<note>
<to>Tove</to>
<from>Jani</from>
<heading>Reminder</heading>
<body>Don't forget me this weekend!</body>
</note>

The XML above is quite self-descriptive:

▪ It has sender information.
▪ It has receiver information
▪ It has a heading
▪ It has a message body.

But still, the XML above does not DO anything. XML is just information wrapped in

, 2. NEED FOR XML

• XML was designed to store and transport data.

• XML was designed to be both human- and machine-readable.

• XML tags identify the data and are used to store and organize the data, rather than
specifying how to display it like HTML tags, which are used to display the data.Three
important characteristics of XML

• XML is extensible

• XML allows you to create your own self-descriptive tags, or language, that suits your
application.XML carries the data, does not present it

• XML allows you to store the data irrespective of how it will be presented.

• XML is a public standard: XML was developed by an organization called the World
Wide Web Consortium (W3C) and is available as an open standard.

• XML Usage XML can work behind the scene to simplify the creation of HTML
documents for large web sites.XML can be used to exchange the information between
organizations and stems

• XML can be used for offloading and reloading of databases.XML can be used to store
and arrange the data, which can customize your data handling needs

• XML can easily be merged with style sheets to create almost any desired
output.Virtually, any type of data can be expressed as an XML document.

XML - Syntax

<?xml version="1.0" encoding="UTF-8"?>
XML Declaration<?xml version="1.0" encoding="UTF-8"?>

3. WORKIN WITH AN XML DOCUMENT:

• Working with XML files is relatively simple, even for a beginner. A couple of
different methods for opening an XML file are to open the file and edit with a text
editor or to open and view the file with a web browser.

• The steps for opening an XML file to view in a web browser include

• Open your default web browser

• Double-click on the XML file and it should open in your browser

• If it does not open, right-click on the file to find a list of options for opening it with
other programs

• Now you will be able to select your web browser from the list of programs.

Geschreven voor

Instelling
Vak

Documentinformatie

Geüpload op
5 september 2024
Aantal pagina's
8
Geschreven in
2024/2025
Type
College aantekeningen
Docent(en)
Sathya
Bevat
Alle colleges

Onderwerpen

$8.49
Krijg toegang tot het volledige document:

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kun je een ander document kiezen. Je kunt het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF

Maak kennis met de verkoper
Seller avatar
sathyaoffici

Maak kennis met de verkoper

Seller avatar
sathyaoffici Madonna matriculation school
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
-
Lid sinds
1 jaar
Aantal volgers
0
Documenten
16
Laatst verkocht
-

0.0

0 beoordelingen

5
0
4
0
3
0
2
0
1
0

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Bezig met je bronvermelding?

Maak nauwkeurige citaten in APA, MLA en Harvard met onze gratis bronnengenerator.

Bezig met je bronvermelding?

Veelgestelde vragen