A Conversation for Project: GuideML

Approved GuideML: Or - how to make a rule and then break it.

Post 1

Clive the flying ostrich: Amateur Polymath | Chief Heretic.

smiley - winkeye

I'll write up a tentative guide entry and post a link back here but I want to cover the self-closing tag, as this is something that I think confuses a lot of people. smiley - smileysmiley - erm

Thinks like Blobs, paragraphs too can be made to be self-closing.

I can also emphaise the rule about opening and closing tags in GuideML.

How's that sound?

Clive. smiley - smiley


Approved GuideML: Or - how to make a rule and then break it.

Post 2

Rho

It sounds brilliant! smiley - winkeyesmiley - cheers

Shall I add this as a new entry to be written or edit one of the existing titles? smiley - smiley

RhoMuNuQ


Approved GuideML: Or - how to make a rule and then break it.

Post 3

Clive the flying ostrich: Amateur Polymath | Chief Heretic.

Whatever. I was thinking I was working within the boundaries you'd already set out, but if you feel lie giving me my own category - go right ahead! smiley - biggrin


Approved GuideML: Or - how to make a rule and then break it.

Post 4

Spelugx the Beige, Wizard, Perl, Thaumatologically Challenged

Feel free to write sections on any aspect you want. As this is a community/collaborative written entry, we can make each page up from a mixture of people's writings, and move things about.

spelugx


Approved GuideML: Or - how to make a rule and then break it.

Post 5

Rho

I'll add it as a new entry for now if you could think up a snappy title (which can be easily changed later!) smiley - ok

RhoMuNuQ


Approved GuideML: Or - how to make a rule and then break it.

Post 6

Rho

Simulpost!

As Spelugx said, nothing's set in stone by any means! smiley - smiley

RhoMuNuQ


Approved GuideML: Or - how to make a rule and then break it.

Post 7

Clive the flying ostrich: Amateur Polymath | Chief Heretic.

righteo! smiley - ok

I rather like the notion of making a rule and then breaking it, I might make those sub-headers within a page about the self-closing tag.

Clive smiley - smiley


Approved GuideML: Or - how to make a rule and then break it.

Post 8

Rho

smiley - ok

RhoMuNuQ


Approved GuideML: Or - how to make a rule and then break it.

Post 9

Clive the flying ostrich: Amateur Polymath | Chief Heretic.

forgot to mention smileys - they are self-closing too! smiley - doh


Approved GuideML: Or - how to make a rule and then break it.

Post 10

Clive the flying ostrich: Amateur Polymath | Chief Heretic.

A986114

been pottering about with some ideas...I've just slapped 'em down in plain text for now. and there's a hell of a lot more to do, but that's the link if you want it.

Clive. smiley - ok


Approved GuideML: Or - how to make a rule and then break it.

Post 11

MaW

Why do self-closing tags seem to people like making a rule and then breaking it? They're basically just shorthand, and ideal for tags where it's impossible to have any content inside anyway (like smileys in GuideML).

I think one of the main reasons they were introduced is because SGML allows tags with no closing, and to convert HTML from SGML to XML would have meant a lot of constructs like which you really can't see people adopting happily. is only one extra character, but has the massive advantage of being very easy for a program to parse, which is one of the main benefits of XML over SGML. If you see a /> you *know* you're not going to have to look for a closing tag, because you've already found it.

XML parsers are considerably easier to write than SGML ones. This is a Good Thing.


Approved GuideML: Or - how to make a rule and then break it.

Post 12

Clive the flying ostrich: Amateur Polymath | Chief Heretic.

ah..well that's the voice of erudition and Someone Who Knows What they Are Talking About. (Tm) I was just going to write in a style that explained about the tags being opened and closed (and why this rule should be followed otherwise you get errors) but that how that 'rule' has several exceptions. - I've noted in my blurb, that they work like they do because they have no content - it's a point I was looking to develop on actually...[thinks] hmmmmm. smiley - scientist


Approved GuideML: Or - how to make a rule and then break it.

Post 13

MaW

Best not to say there are exceptions, because

a) there aren't actually any
b) it may get people to thinking 'well that's a stupid rule then' which won't help them much

Perhaps better to remember to mention that since some tags, like <SMILEY> don't have any content, a shorthand form <SMILEY/> can be used instead of <SMILEY></SMILEY>. If it's presented as a shorthand for something that they can understand is within the rules, it should go down quite well without compromising the user's knowledge and understanding of XML syntax.

smiley - geek


Approved GuideML: Or - how to make a rule and then break it.

Post 14

Spelugx the Beige, Wizard, Perl, Thaumatologically Challenged

Any tag can be written using this shorthand - - but for some it makes more sense than others. The problem probably is that this isn't taught as an other rule for writing tags at the same time as normal closing tags, so people tend to see it as an exception not a rule.

The other short hands available in SGML are nice though <I/Bold-Italics/</> for example, much nicer.

spelugx


Approved GuideML: Or - how to make a rule and then break it.

Post 15

Rho

Thanks, Clive! I've added a link smiley - ok

I've got a few comments about the entry:
- The title might be better as the same as on the Index Page (which can easily be changed smiley - biggrin)
- We should try to avoid overlap in the entries - for example, there's already a half-written one on how to convert to GuideML!
- GuideML tags now work in lowercase as well as uppercase, but this isn't approved style and if you mix uppercase opening tags with lowercase closing tags (or vice versa) it doesn't work.

Looking good so far smiley - cheers
RhoMuNuQ


Approved GuideML: Or - how to make a rule and then break it.

Post 16

The Snockerty Friddle

I've started on an entry about how to steal bits of code from elswhere at A985917 which I will finish once I've stolen some more myself.

smiley - thief
TSF


Approved GuideML: Or - how to make a rule and then break it.

Post 17

Rho

Hi! smiley - smiley

The entry's got some good information - especially about the Test URLs - but I'm afraid it's not in the style of the rest of the project. Would you like to create a new entry with similar information in the style of A985935 or would you like me to do so, crediting you? smiley - smiley

RhoMuNuQ


Approved GuideML: Or - how to make a rule and then break it.

Post 18

Rho

Hi! smiley - smiley

The entry's got some good information - especially about the Test URLs - but I'm afraid it's not in the style of the rest of the project. Would you like to create a new entry with similar information in the style of A985935 or would you like me to do so, crediting you? smiley - smiley

RhoMuNuQ


Approved GuideML: Or - how to make a rule and then break it.

Post 19

MaW

Oh, Clive, I've read your entry... it's not really just about self-closing tags, and neither is it really about general GuideML syntax... smiley - erm


Approved GuideML: Or - how to make a rule and then break it.

Post 20

Clive the flying ostrich: Amateur Polymath | Chief Heretic.

um...okay. I was just throwing down ideas late last night maybe I should just hand this over to you? You seem to know more about this than I do. smiley - huh


Key: Complain about this post