Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--c1map.xsd18
-rw-r--r--src/current/compile.xsl3
2 files changed, 21 insertions, 0 deletions
diff --git a/c1map.xsd b/c1map.xsd
new file mode 100644
index 0000000..d968e16
--- /dev/null
+++ b/c1map.xsd
@@ -0,0 +1,18 @@
+<?xml version="1.0"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ targetNamespace="http://www.lovullo.com/rater/map/c1"
+ xmlns="http://www.lovullo.com/rater/map/c1"
+ elementFormDefault="qualified">
+
+
+ <!-- TODO: an actual XSD; this just ignores everything -->
+ <xs:element name="c1-map">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:any namespace="##any" minOccurs="0" maxOccurs="unbounded" processContents="lax" />
+ </xs:sequence>
+
+ <xs:anyAttribute namespace="##any" processContents="lax" />
+ </xs:complexType>
+ </xs:element>
+</xs:schema>
diff --git a/src/current/compile.xsl b/src/current/compile.xsl
index 557eb62..6f2489a 100644
--- a/src/current/compile.xsl
+++ b/src/current/compile.xsl
@@ -51,6 +51,9 @@
<xsl:include href="compiler/js.xsl" />
<xsl:include href="compiler/map.xsl" />
+<!-- TODO: move into compiler/ -->
+<xsl:include href="c1map.xsl" />
+
<!-- contains get-symbol-map -->
<xsl:include href="include/display.xsl" />