[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#23297: [PATCH] Add HTML5 tags to HTML mode
From: |
Stefan Monnier |
Subject: |
bug#23297: [PATCH] Add HTML5 tags to HTML mode |
Date: |
Sun, 17 Apr 2016 20:10:55 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
>> It'd be great to extract that from the relaxng compact schema, tho
>> (i.e. use nxml).
> I don't understand what that means. Could you elaborate?
The nxml mode knows how to read a relaxng schema which describes the
valid grammar of a given kind of XML document. E.g. it can use it to
give you things like context-aware completion of xml elements
and attributes.
Emacs comes with the relaxng schema for HTML4 and there's a relaxng
schema for HTML5 in GNU ELPA.
So nxml can provide in an automated way most of what's in
html-tag-alist.
Stefan