You are viewing a single thread.
View all comments
60 points

A word document is xml

permalink
report
reply
63 points
*

zipped xml!

permalink
report
parent
reply
28 points

Lots or file formats are just zipped XML.

I was reverse engineering fucking around with the LBX file format for our Brother label printer’s software at work, because I wanted to generate labels programmatically, and they’re zipped XML too. Terrible format, LBX, really annoying to work with. The parser in Brother P-Touch Editor is really picky too. A string is 1 character longer or shorter than the length you defined in an attribute earlier in the XML? “I’ve never seen this file format in my life,” says P-Touch Editor.

permalink
report
parent
reply
10 points
*

Sounds like it’s actually using XSLT or some kind of content validation. Which to be honest sounds like a good practice.

permalink
report
parent
reply
7 points

The future if text documents were Json:

City_pic.png.xml

permalink
report
parent
reply

Programmer Humor

!programmerhumor@lemmy.ml

Create post

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.

Community stats

  • 4.2K

    Monthly active users

  • 947

    Posts

  • 10K

    Comments

Community moderators