Re: html5 schema
Dave Pawson <dave.pawson <at> gmail.com>
2010-09-07 10:12:29 GMT
On 7 September 2010 10:55, James Clark <jjc <at> jclark.com> wrote:
>
>
> I don't see any jar file there. There's a bunch of .el files and an explanation of how to use it with nxml-mode.
Agreed. I was too hasty.
http://github.com/hober/html5-el/archives/master
downloads a directory which includes a readme, an addition
to the schemas.xml file (if you want all .html files to be html5).
And a couple of .el files
I put them in my site-lisp directory,
added that to my load-path
added (require 'whattf-dt)
to the nxml-mode-hook
and hey presto it works!
[except I thought html5 wasn't namespaced?]
-------------
Having compiled the java though James,
can I now use it with jing for cmd line validation?
Using http://syntax.whattf.org/ ?
Just add the jar file (that I built from the java sources in
the 'datatype' directory) to the classpath?
regards
--
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
http://www.dpawson.co.uk
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/emacs-nxml-mode/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/emacs-nxml-mode/join
(Yahoo! ID required)
<*> To change settings via email:
emacs-nxml-mode-digest <at> yahoogroups.com
emacs-nxml-mode-fullfeatured <at> yahoogroups.com
<*> To unsubscribe from this group, send an email to:
emacs-nxml-mode-unsubscribe <at> yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/