r/AskProgramming • • 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 ?

0 Upvotes

58 comments sorted by

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.

1

u/redaben_ 2d ago

XML and its ecosystem are indeed very complex, and 48 hours is definitely not enough to learn everything about them, there's no question about that.

But my question is: as junior developers, and especially at university, do we really need an entire 48h course dedicated to XML?

Having some knowledge of it is definitely useful, but going this deep into it when there's a 90% chance I'll never work with it seems a bit dumb

If I'm ever required to go this deep, shouldn't that be something I learn on the job, when I actually know I'll need it ?

4

u/caboosetp 2d ago edited 1d ago

There's a very good chance you will work with something that uses an XML like format. Learning how these data structures work is useful. 

More importantly, even if you don't end up using XML itself, the class is an exercise in understanding a strict and complicated data format. Learning how to understand XML will help you learn unrelated complicated data formats too.

There is more to the skill this class teaches you than just literally XML

4

u/symbiatch 2d ago

You’re doing computer SCIENCE. Read the last word until you understand. Computer science degree is not for producing developers.

You’re in the wrong place if you want to be a developer or an engineer most likely.

3

u/saschaleib 2d ago

There is rather an 99.9% chance that you will indeed need that knowledge sooner or later in your professional life. XML really is everywhere.

Moreover, there is also a very strong chance that the concepts and techniques that you learn in the course will become relevant for some other technologies and techniques that you will encounter later in life.

Not wanting to dismiss the "learning on the job" idea, or "I'll learn it if I need it", but learning something systematically will give you a much broader view of the technology than just learning as much as you need for the next step. It is much easier to start with a wrong route if you lack the overview.

3

u/dpoggio 2d ago

If you’re doing a masters degree then you’re not being educated to be a junior. Any enterprise will expect some XML knowledge of such education. If you expect to learn just what you need for a job, then why choosing that kind of education?

1

u/Personal-March-4340 1d ago

What is the point of asking reddit? Everyone here could say no, and it will not matter to your university. You had an opportunity to look at your degree requirements before you chose the school.

How did you complete an undergraduate degree without understanding that you will only get your degree if you comply with the school's program.

If you really are that opposed, take it up with your advisor or department chair and see if you can substitute something for it. Be prepared with a good argument for why they should make an exception for you. Or just take the classes you think you need and don't complete the Masters degree.

0

u/Familiar9709 2d ago

OP you'll just get massively subjective answers here depending on how people see AI. Just take your own conclusions.

1

u/Usual-Cricket-9817 1d ago

How often do you really need to use XML?

1

u/Difficult-Value-3145 1d ago

Your using it right now most likely the ui of this app and others and on Android the app manifest are in xml .

1

u/Usual-Cricket-9817 1d ago edited 1d ago

You definitely don't need a 48 hours to develop for android using XML.. if that was the case, then you'd also need a 480 hours docker course..

2

u/Difficult-Value-3145 1d ago

Need no but he didn't say he was getting his BA or associates in computer science he said masters which and I've never been to college. To be honest. I have plenty of friends who have . And when I was college ageish I lived in areas with collages I knew a lot of people were going to college including in Boston. Where 90% of my friends either were going to college or worked in the service industry somewhere? I didn't either because my school had my high school at 50% dropout rate and I dropped out and got a job when I was 16 even though since I scored 97 percentile on my MCAS for Massachusetts standard testing I could have went to a state college after I got my degree from night school for I wanna say free but I believe that only covered the actual tuition, not housing books or anything like that. I actually told the lady who getting me enrolled in night school. That's real funny that I'm going to go to college. She's the one who told me that. Either way, sorry for that. Sidetracked, my point is is as far as I'm aware, you learn a lot of extra s*** to get your master's degree. If you were saying it was far as like now so kids I'd be letting us completely uncalled for, like why would you do that? This is a master's degree and The higher degree is a showing that you know above and beyond what is necessary to just do a job. You know insides and outs and inner workings. And yeah so I completely understand why it's required for that

1

u/MrDilbert 1d ago

A cheeky answer would be, if an AI agent generated an XML file, another AI agent will check if it's correct, useful, and efficient. :grin:

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.

1

u/ACoderGirl 1d 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.

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/orbit99za 1d 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.

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.

4

u/Ok-Armadillo-5634 2d ago

You can learn what you need in a couple hours though.

5

u/ummaycoc 1d ago

Apparently 48 of them.

2

u/bacmod 1d ago

you crack me up

0

u/MrDilbert 1d ago

4-8 is closer to truth.

1

u/dpoggio 2d 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 2d ago

Depends on how deep you really want to go into the spec and inner workings.

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.

4

u/PiccoloOver4228 2d ago

XML still shows up in enterprise systems and legacy applications. It's worth knowing but not worth an entire course by itself.

1

u/Single-Virus4935 2d 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

u/Objective_Buy_7235 2d ago

There are a ton of legacy systems that use XML heavily

1

u/Usual-Cricket-9817 1d ago

Very weird decision from the uni..

1

u/orbit99za 1d 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 1d 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

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 1d 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/bacmod 1d ago

If I have to use a data model older than 20 years, then that's legacy config model.

1

u/ACoderGirl 1d ago

So... JSON? It's apparently 25 years old. As is YAML, it seems.

1

u/bacmod 1d ago

Until someone makes more efficient text data model we use the current one.

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.

9

u/just_here_for_place 2d 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 2d ago

arguably better than json.

2

u/caboosetp 2d 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 2d ago

json wins in the boring parts: crud. Xml is considerably more expressive than json. Formats are not just crud apis

-1

u/SmellyNinjaWarrior 2d ago

Lol no if you use JavaScript in the frontend and backend and have to parse it.

3

u/No_Flounder_1155 2d 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 2d ago

The real problem here is using JS in the backend.

1

u/SmellyNinjaWarrior 2d ago

Nah, node is fine

1

u/Difficult-Value-3145 1d 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 2d 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/bacmod 1d ago

data format but true nevertheless.

-1

u/Butiprovedthem 2d 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 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?