[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Basic question on choosing nxml-mode schema

From: Stefan Monnier
Subject: Re: Basic question on choosing nxml-mode schema
Date: Wed, 09 Nov 2016 14:58:45 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

> However, the xhtml schema bundled with nxml is that of XHTML 1.0, not
> XHTML5. It does not know about <section> or <nav> or any other
> newfangled elements of HTML5.

> You’d need to either clone and extend the XHTML 1.0 schema to make it
> accept XHTML5 on your own, or obtain schema files from somebody who
> already walked this path. This thread[2] of half a year ago and this
> repository[3] over at Github might help you in that.

The `html5-schema` package in GNU ELPA is supposed to do that.
It's still limited to "html" (whereas HTML5 really includes SVG and
a few other XML sub-schemas), but it might be good enough for him.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]