-
Notifications
You must be signed in to change notification settings - Fork 43
Running with Emacs
Sandro edited this page Jan 17, 2016
·
3 revisions
To add support for XSpec in nXML-mode such that nXML-mode will use the XSpec schema with XSpec files:
-
Select `rng-schema-locating-files' for customization by:
a. Either, using the menu, selecting:
Options->Customize Emacs->Specific Option...
or, using the keyboard, entering:
M-x customize-variable
b. Entering:
rng-schema-locating-files RET
-
Select one of the INS buttons.
-
Enter the location of the 'schema.el' file in this directory as the value for the new 'File:' text box.
-
Select the 'State' button then select the 'Save for Future Sessions' option.
You could also customize `rng-preferred-prefix-alist' to add the XSpec namespace URI, "http://www.jenitennison.com/xslt/xspec", and preferred prefix, "x", if you want.