[Year 12 SofDev] XML Definitions

Simon Dorrat sdorrat at salesian.vic.edu.au
Mon Oct 11 01:04:30 UTC 2021


Hi all

Looking over a previous exam the question below appears.  I haven't ever seen an official definition of what a "field" is.  The only official naming of the structural components of XML is "elements" and "attributes".  People sometimes refer to some parts of XML as records, when an element contains other nested elements, and so the components of the record could maybe be called fields, but is this actually accurate?

Looking at the example below (from the 2018 exam I think), I am assuming that the three answers are given because the staffname and salary are explicit elements nested inside staffid, and because the staffid uses an attribute this also be classed as a field, within the staffid record (which is sort of an implied staff record).  This logic seems vague and shaky and I would like to be able to explain it better to students.  Also to be able to answer the question of why "name" is not a field.

Apologies if this is the wrong forum for this type of question.

Thanks
[cid:image002.png at 01D7BE98.2429E1F0]
[salesian_id_portrait_3pms]

Simon Dorrat
DATA MENTOR | TEACHER OF DIGITAL TECHNOLOGIES | MATHEMATICS
Bosco Campus
10 Bosco St Chadstone 3148
T +61 3 9807 2644
E  sdorrat at salesian.vic.edu.au<mailto:sdorrat at salesian.vic.edu.au>
W salesian.vic.edu.au<http://www.salesian.vic.edu.au/>



[https://s3.ap-southeast-2.amazonaws.com/www.salesian.vic.edu.au--wpoffload/images/emailbanner.jpg]<https://www.salesian.vic.edu.au>

________________________________________

CONFIDENTIAL INFORMATION

The information in this email and any attachments is privileged and confidential intended only for the use of the intended recipient. This information remains the property of Salesian College and if you are not the intended recipient please delete this message immediately. The views expressed in this email are those of the author and do not represent those of Salesian College unless clearly indicated. Please be advised that any dissemination, distribution or copying of the information is strictly prohibited. Salesian College accepts no responsibility for any viruses this email may contain. This notice should not be removed. If you have received this communication in error, please contact us at welcome at salesian.vic.edu.au<mailto:welcome at salesian.vic.edu.au> .
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://edulists.com.au/pipermail/sofdev/attachments/20211011/98a63477/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 197256 bytes
Desc: image002.png
URL: <http://edulists.com.au/pipermail/sofdev/attachments/20211011/98a63477/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.jpg
Type: image/jpeg
Size: 7277 bytes
Desc: image004.jpg
URL: <http://edulists.com.au/pipermail/sofdev/attachments/20211011/98a63477/attachment-0001.jpg>


More information about the sofdev mailing list