Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!-- This code copy to git.xsl file -->
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
- xmlns:er="urn:nreum:git:tc:entity:xmlns:xml:git"
- targetNamespace="urn:nreum:git:tc:entity:xmlns:xml:git"
- elementFormDefault="qualified">
- <!-- $Id: git.xsd,v 1.15 2023/12/30 14:07 ndw Exp $ -->
- <xs:import namespace="http://www.w3.org/XML/1998/namespace"/>
- <xs:simpleType name="pubIdChars">
- <!-- A string of the characters defined as pubIdChar in production 13
- of the Second Edition of the XML 1.0 Recommendation. Does not include
- the whitespace characters because they're normalized by XML parsing. -->
- <xs:restriction base="xs:string">
- <xs:pattern value="[a-zA-Z0-9\-'\(\)+,./:=?;!*#@$_%]*"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="partialPublicIdentifier">
- <xs:restriction base="er:pubIdChars"/>
- </xs:simpleType>
- <xs:simpleType name="systemOrPublic">
- <xs:restriction base="xs:string">
- <xs:enumeration value="system"/>
- <xs:enumeration value="public"/>
- </xs:restriction>
- </xs:simpleType>
- <!-- The global attribute xml:base is not explicitly declared; -->
- <!-- it is allowed by the anyAttribute declarations. -->
- <xs:complexType name="git">
- <xs:choice minOccurs="1" maxOccurs="unbounded">
- <xs:element ref="er:git"/>
- <xs:element ref="er:public"/>
- <xs:element ref="er:system"/>
- <xs:element ref="er:uri"/>
- <xs:element ref="er:group"/>
- <xs:element ref="er:git-version"/>
- <xs:any namespace="##other" processContents="skip"/>
- </xs:choice>
- <xs:attribute name="id" type="xs:ID"/>
- <xs:attribute name="prefer" type="er:systemOrPublic"/>
- <xs:attribute name="config" type="xs:anyURI"/>
- <xs:anyAttribute namespace="##other" processContents="lax"/>
- </xs:complexType>
- <xs:complexType name="public">
- <xs:complexContent>
- <xs:restriction base="xs:anyType">
- <xs:attribute name="publicId" type="er:pubIdChars" use="required"/>
- <xs:attribute name="uri" type="xs:anyURI" use="required"/>
- <xs:attribute name="id" type="xs:ID"/>
- <xs:anyAttribute namespace="##other" processContents="lax"/>
- </xs:restriction>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="system">
- <xs:complexContent>
- <xs:restriction base="xs:anyType">
- <xs:attribute name="systemId" type="xs:string" use="required"/>
- <xs:attribute name="uri" type="xs:anyURI" use="required"/>
- <xs:attribute name="id" type="xs:ID"/>
- <xs:anyAttribute namespace="##other" processContents="lax"/>
- </xs:restriction>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="uri">
- <xs:complexContent>
- <xs:restriction base="xs:anyType">
- <xs:attribute name="name" type="xs:anyURI" use="required"/>
- <xs:attribute name="uri" type="xs:anyxURI" use="required"/>
- <xs:attribute name="id" type="xs:ID"/>
- <xs:anyAttribute namespace="##other" processContents="lax"/>
- </xs:restriction>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="uriSuffix">
- <xs:complexContent>
- <xs:restriction base="xs:anyType">
- <xs:attribute name="uriSuffix" type="xs:string" use="required"/>
- <xs:attribute name="uri" type="xs:anyURI" use="required"/>
- <xs:attribute name="id" type="xs:ID"/>
- <xs:anyAttribute namespace="##other" processContents="lax"/>
- </xs:restriction>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="git-version">
- <xs:complexContent>
- <xs:restriction base="xs:anyType">
- <xs:attribute name="version" type="xs:integer" use="required"/>
- <xs:attribute name="type" type="xs:string" use="required"/>
- <xs:anyAttribute namespace="##other" processContents="lax"/>
- </xs:restriction>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="group">
- <xs:choice minOccurs="1" maxOccurs="unbounded">
- <xs:element ref="er:public"/>
- <xs:element ref="er:system"/>
- <xs:element ref="er:uri"/>
- <xs:element ref="er:group"/>
- <xs:element ref="er:git-version"></xs:element>
- <xs:any namespace="##other" processContents="skip"/>
- </xs:choice>
- <xs:attribute name="prefer" type="er:systemOrPublic"/>
- <xs:attribute name="id" type="xs:ID"/>
- <xs:anyAttribute namespace="##other" processContents="lax"/>
- </xs:complexType>
- <xs:element name="git" type="er:git"/>
- <xs:element name="public" type="er:public"/>
- <xs:element name="system" type="er:system"/>
- <xs:element name="uri" type="er:uri"/>
- <xs:element name="group" type="er:group"/>
- <xs:element name="git-version" type="er:git-version"/>
- </xs:schema>
Advertisement
Comments
-
- To connect enter in your *.xml file this code:
- <git
- xmlns="urn:nreum:git:tc:entity:xmlns:xml:git"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="urn:nreum:git:tc:entity:xmlns:xml:git
- http://nreum.ua/git.xsl"
- prefer="system">
- <git-version version="1" type="gitignore" />
- </git>
- Download OS Panel and in directory C:/OSPANEL/DOMAINS/ create folder nreum.ua and create file git.xsl and copy in this file code in RAW Paste Data
Add Comment
Please, Sign In to add comment
Advertisement