Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

TorgoX (1933)


"Il est beau comme la retractilité des serres des oiseaux rapaces [...] et surtout, comme la rencontre fortuite sur une table de dissection d'une machine à coudre et d'un parapluie !" -- Lautréamont

Journal of TorgoX (1933)

Saturday August 06, 2005
05:24 AM

The XML grammar, and pretty.

[ #26138 ]
Dear All,

So a while back, I noted that when I referred to the XML spec (still then in its 1.0 version), I only ever referred to the syntax parts, and I rarely if ever (re-)read the paragraphs.

So I made this, which is basically just the XML spec minus all the paragraphs, leaving behind just the headings and syntax parts. But over time, 1) I got more annoyed by the irony of the nastiness of the 1997-vintage HTML (tables inside tables, etc); and 2) I got tired of looking up the production for Name, and ending up getting to the BaseChar production and seeing rows and rows of goo like "[#x03A3-#x03CE] | [#x03D0-#x03D6] | #x03DA | #x03DC | #x03DE | #x03E0 | [#x03E2-#x03F3]".

So I did a bit of search-and-replacing to get this prettied-up version of it all. Note that the funny characters (half of which are likely not to show up on any given person's display) have some passably informative title="..." attributes set, which appears when you mouseover.

At some point I may update this for the XML 1.1 spec. But feh (ف), I'm oldskool.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.