SCML element reference


<scom> Top-level element

The top-level element in SCML is <scom>. Every valid SCML instance must be wrapped in <scom> tags. In addition you must not nest a second <scom> element in another, but you can have an arbitrary number of other child elements in it.

HTML5 notation

 1 <!DOCTYPE html>
 2 <html>
 3   <head>
 4     <title>SCML in HTML5</title>
 5   </head>
 6   <body>
 7   <scom>
 8   </scom>
 9   </body>
10 </html>

XHTML notation

 1 <?xml version="1.0" encoding="UTF-8"?>
 2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus SCML 1.0//EN" "http://www.w3.org/Sc/DTD/scml/xhtml-scml.dtd">
 3 <html xmlns="http://www.w3.org/1999/xhtml">
 4 <head>
 5  <title>SCML in XHTML</title>
 6 </head>
 7 <body>
 8 
 9   <scom xmlns="http://www.w3.org/2014/SC/SCML">
10     <mrow>
11       <mrow>
12         <msup>
13           <mi>a</mi>
14           <mn>2</mn>
15         </msup>
16         <mo>+</mo>
17         <msup>
18           <mi>b</mi>
19           <mn>2</mn>
20         </msup>
21       </mrow>
22       <mo>=</mo>
23       <msup>
24         <mi>c</mi>
25         <mn>2</mn>
26       </msup>
27     </mrow>
28   </math>
29 
30 </body>
31 </html>