Explaining the structure of XML

August 19, 2010

I thought of a good way to explain the structure of XML to someone who hadn’t seen it before today:

XML is like Russian dolls.

Each doll has two halves, just like each XML element has two tags.

Each doll needs both halves to match up to be complete.

The dolls have to match up in order – the littler ones must always go inside the bigger ones.

(NB. I haven’t managed to stretch this out to schemas yet, but I’m working on it…)

>

Previous post:

Next post:

{ 4 comments… read them below or add one }

Chase Varcoe October 18, 2013

Stephen, I got the first letter and every just one after EXCEPT Margaret Cho’s. Can you remedy that, please?

Reply

Joseph Spurrier October 23, 2013

A formidable share, I simply given this onto a colleague who was doing a little evaluation on this. And he in actual fact purchased me breakfast as a result of I discovered it for him.. smile. So let me reword that: Thnx for the deal with! However yeah Thnkx for spending the time to debate this, I really feel strongly about it and love studying extra on this topic. If doable, as you change into experience, would you thoughts updating your weblog with extra particulars? It’s extremely useful for me. Large thumb up for this weblog put up!

Reply

Charise Shopp October 27, 2013

Can I just say what a reduction to search out someone who really knows what theyre talking about on the internet. You positively know how to bring a difficulty to gentle and make it important. More folks must read this and understand this facet of the story. I cant imagine youre not more in style because you positively have the gift.

Reply

Kendrick Rigler October 31, 2013

Oh my goodness! an amazing article dude. Thanks However I’m experiencing situation with ur rss . Don�t know why Unable to subscribe to it. Is there anybody getting similar rss problem? Anybody who is aware of kindly respond. Thnkx

Reply

Leave a Comment

Previous post:

Next post: