News for hackers. Stuff that matters.
Re:A Brief Defense of XML by magicalhippo on Friday January 06, 2023 @10:14PM (#34284763)
I'd say if it's for general data exchange, I'd shy away from attributes as much as possible. Not all tools handle them well, and XML novices can get confused about their usage.

Using plain tags is so obvious that just about anyone can get it, and in my experience there's no real advantage to using attributes.

At least that's my experience at work, where we use XML as our primary integration format for others that want to deliver data to our system. When going through with a new customer, the few attributes we have almost always cause some kind of issue or misunderstanding.

There are no comments on this comment yet.