summaryrefslogtreecommitdiff
path: root/slides/locatingrules.xml
diff options
context:
space:
mode:
Diffstat (limited to 'slides/locatingrules.xml')
-rw-r--r--slides/locatingrules.xml31
1 files changed, 31 insertions, 0 deletions
diff --git a/slides/locatingrules.xml b/slides/locatingrules.xml
new file mode 100644
index 0000000..cbfc9d4
--- /dev/null
+++ b/slides/locatingrules.xml
@@ -0,0 +1,31 @@
+<?xml version="1.0"?>
+<!-- $Id: locatingrules.xml 9639 2012-10-22 18:41:00Z stefan $ -->
+
+
+<!-- This is a schema-locating file for use with a RELAX NG-aware editor -->
+<!-- such as Emacs/nXML mode. It tells your editor to automatically -->
+<!-- associate a document with an RNC schema file, based on the name of -->
+<!-- the root element of the document -->
+
+<locatingRules xmlns="http://thaiopensource.com/ns/locating-rules/1.0">
+ <namespace ns="http://docbook.org/ns/docbook-slides" uri="schema/relaxng/slides.rnc"/>
+ <documentElement localName="slides" uri="schema/relaxng/slides.rnc"/>
+
+ <namespace ns="http://docbook.org/ns/docbook" uri="schema/relaxng/docbook.rnc"/>
+</locatingRules>
+
+<!-- To use this file with Emacs/nXML mode, either: -->
+
+<!-- - do M-x customize-variable rng-schema-locating-files -->
+<!-- and then add the absolute path to this file there -->
+
+<!-- OR -->
+
+<!-- - put the following into your .emacs file: -->
+
+<!-- (setq rng-schema-locating-files -->
+<!-- (append -->
+<!-- '("~/docbook-slides/locatingrules.xml"))) -->
+
+<!-- Of course, replace the ~/docbook-slides/locatingrules.xml -->
+<!-- pathname with the appropriate location for your system. -->