2009/dap/ReSpec.js/test-spec include-schema.xsd,NONE,1.1 include-test.html,NONE,1.1 index.html,1.14,1.15

Update of /sources/public/2009/dap/ReSpec.js/test-spec
In directory hutz:/tmp/cvs-serv30928/test-spec

Modified Files:
	index.html 
Added Files:
	include-schema.xsd include-test.html 
Log Message:
Added subtitle parameter for spec subtitle support
Changed title handling so it emits an id and class of title
Added copyrightStart parameter for copyright range support
Added support for data-include and data-oninclude

Index: index.html
===================================================================
RCS file: /sources/public/2009/dap/ReSpec.js/test-spec/index.html,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- index.html	30 Sep 2009 15:24:54 -0000	1.14
+++ index.html	22 Feb 2010 23:15:37 -0000	1.15
@@ -7,8 +7,10 @@
     <script class='remove'>
       var respecConfig = {
           // document info
+          subtitle:             "An awesome example of 'wicked-coolness'",
           specStatus:           "ED",
           shortName:            "wicked-cool",
+          copyrightStart:       "2009",
           previousPublishDate:  "2009-03-15",
           previousMaturity:     "LC",
           edDraftURI:           "http://dev.w3.org/2009/dap/respec/test-spec/",
@@ -30,6 +32,10 @@
           wgPublicList: "public-device-apis",
           wgPatentURI:  "http://www.w3.org/2004/01/pp-impl/43696/status",
       };
+
+      function fixSchema(r, content) {
+        return r._esc(content);
+      }
     </script>
   </head>
   <body>
@@ -175,7 +181,18 @@
         </section>
       </section>
     </section>
+
+    <section>
+      <h2>Including other data</h2>
+      <p>
+        Including other data is easy!  <span style='text-style: bold' data-include="include-test.html"></span>
+      </p>
+
+      <p>The example below is from an external file:</p>
+      <pre class='example' data-include='include-schema.xsd' data-oninclude='fixSchema'></pre>
     
+    </section>
+
     <section class='appendix'>
       <h2>Acknowledgements</h2>
       <p>

--- NEW FILE: include-test.html ---
This sentence came from an external file.

--- NEW FILE: include-schema.xsd ---
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema 
    xmlns:xs="http://www.w3.org/2001/XMLSchema" 
    elementFormDefault="qualified" 
>
  <xs:attribute name="data-include" type="xs:string"/>
  <xs:attribute name="data-oninclude" type="xs:ID"/>

</xs:schema>

Received on Monday, 22 February 2010 23:15:40 UTC