Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
Create, edit, and inspect PowerPoint presentations with professional design and automated visual QA
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
scripts/office/schemas/mce/mc.xsd
1<?xml version="1.0" encoding="utf-8"?>2<xsd:schema xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"3attributeFormDefault="unqualified" elementFormDefault="qualified"4targetNamespace="http://schemas.openxmlformats.org/markup-compatibility/2006"5xmlns:xsd="http://www.w3.org/2001/XMLSchema">67<!--8This XSD is a modified version of the one found at:9https://github.com/plutext/docx4j/blob/master/xsd/mce/markup-compatibility-2006-MINIMAL.xsd1011This XSD has 2 objectives:12131. round tripping @mc:Ignorable1415<w:document16xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"17xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main"18mc:Ignorable="w14 w15 wp14">19202. enabling AlternateContent to be manipulated in certain elements21(in the unusual case where the content model is xsd:any, it doesn't have to be explicitly added)2223See further ECMA-376, 4th Edition, Office Open XML File Formats24Part 3 : Markup Compatibility and Extensibility25-->2627<!-- Objective 1 -->28<xsd:attribute name="Ignorable" type="xsd:string" />2930<!-- Objective 2 -->31<xsd:attribute name="MustUnderstand" type="xsd:string" />32<xsd:attribute name="ProcessContent" type="xsd:string" />3334<!-- An AlternateContent element shall contain one or more Choice child elements, optionally followed by a35Fallback child element. If present, there shall be only one Fallback element, and it shall follow all Choice36elements. -->37<xsd:element name="AlternateContent">38<xsd:complexType>39<xsd:sequence>40<xsd:element name="Choice" minOccurs="0" maxOccurs="unbounded">41<xsd:complexType>42<xsd:sequence>43<xsd:any minOccurs="0" maxOccurs="unbounded"44processContents="strict">45</xsd:any>46</xsd:sequence>47<xsd:attribute name="Requires" type="xsd:string" use="required" />48<xsd:attribute ref="mc:Ignorable" use="optional" />49<xsd:attribute ref="mc:MustUnderstand" use="optional" />50<xsd:attribute ref="mc:ProcessContent" use="optional" />51</xsd:complexType>52</xsd:element>53<xsd:element name="Fallback" minOccurs="0" maxOccurs="1">54<xsd:complexType>55<xsd:sequence>56<xsd:any minOccurs="0" maxOccurs="unbounded"57processContents="strict">58</xsd:any>59</xsd:sequence>60<xsd:attribute ref="mc:Ignorable" use="optional" />61<xsd:attribute ref="mc:MustUnderstand" use="optional" />62<xsd:attribute ref="mc:ProcessContent" use="optional" />63</xsd:complexType>64</xsd:element>65</xsd:sequence>66<!-- AlternateContent elements might include the attributes Ignorable,67MustUnderstand and ProcessContent described in this Part of ECMA-376. These68attributes’ qualified names shall be prefixed when associated with an AlternateContent69element. -->70<xsd:attribute ref="mc:Ignorable" use="optional" />71<xsd:attribute ref="mc:MustUnderstand" use="optional" />72<xsd:attribute ref="mc:ProcessContent" use="optional" />73</xsd:complexType>74</xsd:element>75</xsd:schema>76