File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" ?>
2
2
<xs : schema xmlns : xs =" http://www.w3.org/2001/XMLSchema" xmlns =" http://www.w3.org/1999/xhtml" xmlns : mml =" http://www.w3.org/1998/Math/MathML" xmlns : svg =" http://www.w3.org/2000/svg" targetNamespace =" http://www.w3.org/1999/xhtml" elementFormDefault =" qualified" attributeFormDefault =" unqualified" >
3
3
4
+ <!-- ToDos: Indexterm data attributes; special schema for footnotes (thinking <aside class="footnote">); enumerated class for admonitions/examples on div? -->
5
+
4
6
<xs : import namespace =" http://www.w3.org/1998/Math/MathML" schemaLocation =" mathml3/mathml3.xsd" />
5
7
<xs : import namespace =" http://www.w3.org/2000/svg" schemaLocation =" svg/SVG.xsd" />
6
8
488
490
489
491
<xs : element name =" p" type =" inline_children_only" />
490
492
491
- <xs : element name =" pre" type =" inline_children_only" />
493
+ <xs : element name =" pre" >
494
+ <xs : complexType >
495
+ <xs : complexContent >
496
+ <xs : extension base =" inline_children_only" >
497
+ <xs : attribute name =" data-language" type =" xs:token" />
498
+ </xs : extension >
499
+ </xs : complexContent >
500
+ </xs : complexType >
501
+ </xs : element >
492
502
493
503
<!-- Default global version of "section" element is for chapter-level book divisions
494
504
(allows for modularization of HTML files at the chapter level),
1714
1724
<xs : group ref =" blockelements" minOccurs =" 0" maxOccurs =" unbounded" />
1715
1725
</xs : sequence >
1716
1726
<!-- Note: special class attr restrictions here -->
1717
- <xs : attribute name =" class" use =" required" fixed =" sidebar" />
1718
- <xs : attributeGroup ref =" globals_minus_class" />
1727
+ <xs : attributeGroup ref =" globals" />
1719
1728
</xs : complexType >
1720
1729
1721
1730
<!-- Subheadings: support subtitles, author attributions, etc. -->
You can’t perform that action at this time.
0 commit comments