[Year 12 SofDev] XML Definitions
Janene Watt
Janene.Watt at education.vic.gov.au
Mon Oct 11 02:33:45 UTC 2021
HI Simon / edulist
There's two main parts for me - examiner comment about what a field is -> Field is <staffid> i.e. what is exactly inside the <>
Then in terms of XML For me it is thinking of this as structured data or programming hierarchy(i.e. like a database record) and the what type of data are you collecting and structuring and what is it's value.
In this example name is just like a form heading - its just simple data that has no real value. Its superficial in its value.
The 3 fields that make up staff id (and the child elements) are effectively the main data that you are collecting because it is the data that you are collecting about each person in that company. The indenting and the parent-child relationship makes this important data because someone has taken the time to structure this to get more details. The people in the company in this case are critical to know. The name is less important but it could still be linked because all these people are part of the same organisation. If company name was part of the staff id attribute then it would have the same importance.
Lastly and maybe not important but I see it as a clue to the answer, Name is not repeated (tells me that its descriptive but less valuable data) and its not likely to be captured more than once.
Regards
Janene
*IMPORTANT - The content of this email is confidential and intended for the recipient(s) specified in the message only. It is strictly forbidden to share any part of this message with any third party, without the written consent from the sender. If you received this message by mistake, please reply to this message and follow with its deletion, so that we can ensure such a mistake does not occur in the future.
From: sofdev <sofdev-bounces at edulists.com.au> On Behalf Of Simon Dorrat
Sent: Monday, 11 October 2021 12:05 PM
To: sofdev at edulists.com.au
Subject: [Year 12 SofDev] XML Definitions
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:image001.png at 01D7BEA4.75F3B9A0]
[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<https://aus01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.salesian.vic.edu.au%2F&data=04%7C01%7CJanene.Watt%40education.vic.gov.au%7Caf04969f62af4c65512708d98c53215e%7Cd96cb3371a8744cfb69b3cec334a4c1f%7C0%7C0%7C637695112742574877%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=7iD9kMfNFdxCIerUISUPTZFjM1O4uUt4DzIs71aDxdc%3D&reserved=0>
[https://s3.ap-southeast-2.amazonaws.com/www.salesian.vic.edu.au--wpoffload/images/emailbanner.jpg]<https://aus01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.salesian.vic.edu.au%2F&data=04%7C01%7CJanene.Watt%40education.vic.gov.au%7Caf04969f62af4c65512708d98c53215e%7Cd96cb3371a8744cfb69b3cec334a4c1f%7C0%7C0%7C637695112742584833%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=%2FKMBKaTbtEq%2FOqvCg%2BAY%2FknT%2BMCZqxnXBO4iJ24NIH8%3D&reserved=0>
________________________________________
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> .
IMPORTANT - This email and any attachments may be confidential. If received in error, please contact us and delete all copies. Before opening or using attachments check them for viruses and defects. Regardless of any loss, damage or consequence, whether caused by the negligence of the sender or not, resulting directly or indirectly from the use of any attached files our liability is limited to resupplying any affected attachments. Any representations or opinions expressed are those of the individual sender, and not necessarily those of the Department of Education and Training.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://edulists.com.au/pipermail/sofdev/attachments/20211011/602b9956/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 108230 bytes
Desc: image001.png
URL: <http://edulists.com.au/pipermail/sofdev/attachments/20211011/602b9956/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.jpg
Type: image/jpeg
Size: 3964 bytes
Desc: image003.jpg
URL: <http://edulists.com.au/pipermail/sofdev/attachments/20211011/602b9956/attachment-0001.jpg>
More information about the sofdev
mailing list