1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- This file is used for xml-files which install, update or delete media providers. -->
3 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.woltlab.com" targetNamespace="http://www.woltlab.com" elementFormDefault="qualified">
5 <xs:include schemaLocation="types.xsd" />
8 <xs:element name="data">
11 <xs:element name="import" type="import" minOccurs="0" />
12 <xs:element name="delete" type="delete" minOccurs="0" />
17 <!-- import element -->
18 <xs:complexType name="import">
20 <xs:element name="provider" type="provider_import" minOccurs="0" maxOccurs="unbounded" />
24 <!-- delete element -->
25 <xs:complexType name="delete">
27 <xs:element name="provider" type="provider_delete" minOccurs="0" maxOccurs="unbounded" />
31 <!-- deleted media providers -->
32 <xs:complexType name="provider_delete">
33 <xs:attribute name="name" type="woltlab_varchar" use="required" />
36 <!-- imported/updated media providers -->
37 <xs:complexType name="provider_import">
39 <xs:element name="title" type="xs:string" />
40 <xs:element name="regex" type="xs:string" />
41 <xs:element name="html" type="xs:string" minOccurs="0" />
42 <xs:element name="className" type="xs:string" minOccurs="0" />
44 <xs:attribute name="name" type="woltlab_varchar" use="required" />