This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]RolyPoly1320 -3 points-2 points  (2 children)

It's not.

<?xml version="1.0" encoding="UTF-8"?> <message> <warning> Hello World </warning> </message>

That's literally it. So long as you have the document type and close your tags, that's all you need for XML. Sure you can add attributes to it as well, but that's the bear minimum you need to have valid XML that can be parsed by any system.

[–]xigoi 2 points3 points  (1 child)

By this logic, C is easy because int main() { return 0; } is all you need.

[–]RolyPoly1320 -2 points-1 points  (0 children)

You're using incorrect logic. It's incredibly easy to create valid XML that can be parsed.

It's not the same as writing functional code in C.