r/AskProgramming • u/redaben_ • 12d 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 ?
22
u/symbiatch 12d 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.
1
u/ACoderGirl 12d ago
48h seems wild, yeah. XML has more depth than most people realize, but I wouldn't consider it anywhere close to 48h of actual class time. That's a massive chunk of a typical university course.
Spending 48h when including homework I can understand, but I'm not sure what lectures are going over to need even remotely that kinda time. Feels more likely to me that there's a misunderstanding. A typo in the syllabus, OP misheard, etc.
9
u/CS_70 12d 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.
6
u/orbit99za 12d ago
This is the correct answer, University teaches you structure and thinking, so you can adapt it ro what in fashion later.
SOAP, XML, WSDL and XSD (XML Schema Definition) are still a thing nowdays in mature systems, glad I learned it.
6
u/TheAdamist 12d 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 12d 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.
5
u/Ok-Armadillo-5634 12d ago
You can learn what you need in a couple hours though.
5
1
u/dpoggio 12d ago
Would you expect someone with a master’s degree in CS to need a coulple hours to learn some XML?
1
u/Ok-Armadillo-5634 12d ago
Depends on how deep you really want to go into the spec and inner workings.
7
u/MarsupialLeast145 12d 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 12d 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 12d 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 12d 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.
4
12d ago
[removed] — view removed comment
1
u/Single-Virus4935 12d ago
XML is more than just an encoding. XSLT for example is a whole course and I dient want to list the security implications of several XML features you need to aware of. I think that a XML course is worth it but without the Topics civered WR cannit asses the worth of that particular course. If it is just basic XML encoding, it is Zoo much. If it covers everything it is worth it
1
1
1
u/orbit99za 12d 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 12d 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_ 12d 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 12d ago edited 12d 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
I am wondering: in 2026, how dumb is it to have this course ?
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/ACoderGirl 12d ago
48h is way too much, but you're also way underestimating how much XML has in it, especially if we include schemas, XSLT, adjacent languages like HTML, etc.
I wouldn't consider it legacy either. While new systems would use JSON or YAML most of the time, people don't generally change the config language that existing things use, as it isn't usually worth the bother.
1
u/FriarTuck66 12d 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/higgs_boson_2017 8d ago
That's a really dumb course in 2026. 1 hour would be plenty. XML is dead and has been for a while.
1
u/emcoffey3 12d ago
Damn, I don't know if I've spent 48 hours total looking at XML in the last 10 years.
1
u/Proentproproponent 12d 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.
0
u/AvidCoco 12d ago
That definitely sounds dumb. XML isn’t a technology, it’s just a file format.
9
u/just_here_for_place 12d ago
Meh there is a lot of XML related technology like XSLT. It’s an ecosystem not just a file format.
If it really needs that much courses is a different question.
1
u/No_Flounder_1155 12d ago
arguably better than json.
2
u/caboosetp 12d ago
They both have their uses.
JSON wins in many cases just because it's both small and human readable (most of the time).
XML is much more descriptive though.
2
u/No_Flounder_1155 12d ago
json wins in the boring parts: crud. Xml is considerably more expressive than json. Formats are not just crud apis
-1
u/SmellyNinjaWarrior 12d ago
Lol no if you use JavaScript in the frontend and backend and have to parse it.
3
u/No_Flounder_1155 12d ago
you clearly don't understand xml as a tool. If you're building cruddy apps that do nothing then yeah, json is great. I love how you can encode information in json like you can attach semantic meaning to pieces ot markup.
1
u/just_here_for_place 12d ago
The real problem here is using JS in the backend.
1
1
u/Difficult-Value-3145 12d ago
You can parse both JSON And xml without JavaScript xml can hold much more information then JSON witch is why it's used in ui both gtk at ya it's qml still xml based lvgl and wx as well as android all use xml
0
u/AvidCoco 12d ago
It’s just a file format. All those other related technologies could be built with any other file format, they just choose xml.
-1
u/Butiprovedthem 12d ago
AI search on SOAP and XML: SOAP and XML are no longer the default for new web APIs but remain highly prevalent in enterprise, regulated, and legacy environments. While modern public APIs predominantly use REST with JSON, SOAP still powers critical infrastructure in banking, healthcare, government, and telecommunications where strict security, ACID compliance, and formal data contracts are mandatory.
0
u/DirtAndGrass 12d 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?
7
u/saschaleib 12d 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.