XML Example
XML Example
XML Example
Superclass: CB
Version: 01
Student declaration
I have read and understood SQA HND’s Policy on Academic Dishonesty and Plagiarism.
Submitted Date :
Table of Contents
Outcome-1................................................................................................................................................2
Part-A.....................................................................................................................................................2
Part-B.....................................................................................................................................................3
Outcome2.................................................................................................................................................5
Outcome-3................................................................................................................................................6
Outcome-1
Part-A
Part B
XML-Tree: XML family tree depicts the segregated elements which are ancestor, parent, child or
descendant elements. There is always a root parent/root element for any other child elements. (Anon.,
2019)
Grandparent
The above statement is to ensure the avoidance of errors while specifying the encoding that is
being used. Moreover, the statement is a declaration of the type of document it is.
UTF-8 encoding is for XML, HTML5, CSS, JavaScript, PHP and SQL.
XML stands for eXtensible Markup Language which its main function is to carry data-with the
focus on what data is. (Anon., 1990-2022)
Outcome2
Before After
Pic 1 Pic 2
No closing bracket in the amount.(write down the consequences) if its missing?
The consequences of not having a closing bracket is that an error will occur when running the
program.
Before After
Pic 1 Pic 2
Missing the alphebet ‘a’ it simply means to lose its attribute ’id’ name moreover showing the link
with the other members.
Before After
Pic 1 Pic 2
There is an extra Guardian.
Just need old one for the data or to declare in the document.
Before After
Pic 1 Pic 2
Missing number Data
Because the doctype declaration, each should have whats needed.
Before After
Pic 1 Pic 2
Missing date Data
The same goes for this case as the case above needed to input its data.
Outcome-3
XML
(XML, eXtensible markup language is a markup language used for storing, transmitting, and
reconstructing arbitrary data which than encodes documents in a format that is readable to both
human and machine.) (Anon., n.d.)
XSL
(the term XSL, eXtensible Stylesheet language refers to the usage of a family of languages that
transforms and render XML documents.) (Anon., n.d.)
XML for outcome(3)
Pic of Xml coding
Pic of XSL coding
Out come picture