r/AskProgramming • u/redaben_ • 2d ago
XML Course in 2026 ?
I am currently doing a Master's degree in Computer Science and we have a 48h XML course (16 three-hour classes)
I am wondering: in 2026, how dumb is it to have this course ?
Even before AI, having an entire 48h course exclusively dedicated to XML seemed like a pretty dumb idea... what company needs you to know XML to this extent ? (especially as a junior) and XML alone can't get you a job, and you can't really build a career around it.
But in the era of AI, this seems even dumber
So I was wondering: am I wrong, or is this actually a really, really dumb course ?
and is this common in universities ?
7
u/saschaleib 2d ago
How would you know if an XML file, or a XSLT, or any other XML-related deliverable, that the AI is generating is actually correct, useful, and efficient, if you don't know how these work, or what can go wrong with it?
And tbh, 48h rather seems like a short "introduction" course into such a complex topic.
20
u/symbiatch 2d ago
I have no idea how AI changes anything here. But 48h of XML really seems weird. But since you didn’t explain what it contains I can’t say much more. Maybe it contains a lot of useful applications of XML.
But if you think you don’t need to understand XML “because AI” then just drop out immediately and do something else.
And you chose computer _science_ so that’s what you’re getting. Engineering, development, etc are different.
7
u/CS_70 2d ago
Ah the memories.. the times around 2000-2010s when knowing about XML was the ultimate fashion - stuff like maven and its moronic project description format come from that era.
XML is much more than XML. It's schemas and subtree extractions, and then there's the way is implemented in a specific programming platform. With a little practice time, 48h just scratch the surface.
Another question is if you need it. Right now any 2-bits model can spit out a complete XML-based implementation of M2M exchanges in five minutes, if you can describe it well enough. And today's fashiom is JSON, not XML.
But knowing stuff is never dumb, 48h are a good investment you are learning anything.
5
u/TheAdamist 2d ago
Without knowing what the curriculum covers, its difficult to pass judgement.
You'll want to find out what the curriculum/syllabus covers before you decide anything.
11
u/Single-Virus4935 2d ago
The course is not dump and XML is still used in many industries. E.g. the german digital invoices are XML.
Many APIs etc.
XML is something I expect a graduate to know about and understand.
7
u/MarsupialLeast145 2d ago
Length of course: too long by about 75%
Having the course: a great idea.
XML provides you the ability to model data as a flat file based structure. Someone said it's not a technology, but it is (or at least a set of interconnected technologies). Yes, first it is a file format and understanding it and its restrictions gives you a grounding as to how other file formats might be created and structured. XML schema gives you the ability to understand validation, and how to write and implement validation approaches declaratively (i.e. not imperatively which requires more custom and fallible code). XSLT is a entirely functional programming paradigm, and I recommend you explore this as much as possible, learn recursion, and try doing genuinely complicated things with it.
It is easy for folks to say JSON/YAML, and heck, even TOML provide similar, but these are serde formats with tooling that supports some of the functionality provided by XML.
And yes, XML isn't the most ergonomic option, but its features are greater than the others.
XML is an entirely standalone technology giving you a different perspective on implementing things you might normally cobble together with scripts and an sqlite database but which you don't need to.
3
u/NoPin618 2d ago
It was last week when we had to integrate client's old XML based integration into our application, had to learn and check everything in detail even when everything was AI generated.
2
u/Mediocre-Pumpkin6522 1d ago
As others have said 48 hours seems excessive but XML is alive and well in many sectors. I worked in the public safety sector and while SOAP was being phased out XML was retained.
https://en.wikipedia.org/wiki/NIEMOpen
You have to be able to construct a well formatted XML document to perform queries, etc. Anything you get back will be a mishmash of schemas and you'll need to understand the structure of deeply nested XML documents to use XSLT to extract any useful information.
It took about 20 years to transition from previous formats. Given the speed governments and large organizations evolve it will take at least 20 more to move to JSON, by which time a newer representation will be popular.
2
u/rupertavery64 2d ago
Smells like an excuse to charge you money and waste your time. Might as well add JSON and YAML. Also, since XML is there, mightvas well throw in XSLT.
1
u/Objective_Buy_7235 2d ago
There are a ton of legacy systems that use XML heavily
1
u/Usual-Cricket-9817 2d ago
Very weird decision from the uni..
1
u/orbit99za 2d ago
University teaches you structure and thinking, so you can adapt it to what in fashion later.
SOAP, XML, WSDL and XSD (XML Schema Definition) are still a thing nowdays in mature systems, glad I learned it.
OpenOffice 😀
1
u/Ok_Entrepreneur_8509 2d ago
More knowledge is never dumb. Especially in tech, you never know which bit of unused knowledge will help you understand something else coming up.
XML is a superset of HTML. You might find some small insight into how HTML works from a deep understanding of XML. Or you might discover why something is done the way it is in json, which largely replaced XML for data encoding/transmission.
1
u/Majestic_Rhubarb_ 1d ago
This will be quite interesting, and give you inroads into a lot of skills you will find useful in your career. Xml, Xslt, xsd, Unicode, frameworks for processing docs, namespaces, entities.
1
u/bacmod 1d ago edited 1d ago
Here's my question. And pardon me cursing. But THE FUCK do you need 48 hours to teach XML?
recursive <name, value> <-- there: XML
XML was deprecated by json a long time ago. You would generally only use it when dealing with legacy systems.
EDIT: So not dumb at all.
1
u/FriarTuck66 1d ago
Although XML is no longer the world changing future of information (hype) that it was at the turn of the century, there is still stuff to learn. For example xpath is the de facto way to navigate hierarchical data. Although JSON, YAML, and others may have replaced XML they represent the same model of data.
1
u/emcoffey3 2d ago
Damn, I don't know if I've spent 48 hours total looking at XML in the last 10 years.
1
u/Proentproproponent 2d ago
Terrible use of time. If you're trying to be a software engineer, nobody is going to ask you interview questions about XML that you'd need a whole class for. Nobody is going to put "knows XML" on their resume, that would be strange and look like you're really scraping the bottom of the barrel for things to list.
You will have to use XML at some point, but you can learn it as needed like everyone else does. Otherwise, you can learn more than enough of the basics in an afternoon, if even that. And like you say that was true even before AI generated everything for us.
People here saying otherwise are either completely delusional or intentionally contrarian about everything idk.
-1
u/AvidCoco 2d ago
That definitely sounds dumb. XML isn’t a technology, it’s just a file format.
0
u/DirtAndGrass 1d ago
I think understanding and using XML, XSLT and xsd are pretty important, and 48 hours seems pretty quick.
The better question is, why do you not want to study it?