Advertisement
ASMProgrammer

Working GIT in XML git.xsl

Dec 30th, 2023
100
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 4.65 KB | None | 0 0
  1. <!-- This code copy to git.xsl file -->
  2. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
  3. xmlns:er="urn:nreum:git:tc:entity:xmlns:xml:git"
  4. targetNamespace="urn:nreum:git:tc:entity:xmlns:xml:git"
  5. elementFormDefault="qualified">
  6.     <!--  $Id: git.xsd,v 1.15 2023/12/30 14:07 ndw Exp $  -->
  7.     <xs:import namespace="http://www.w3.org/XML/1998/namespace"/>
  8.     <xs:simpleType name="pubIdChars">
  9.         <!--  A string of the characters defined as pubIdChar in production 13
  10.         of the Second Edition of the XML 1.0 Recommendation. Does not include
  11.         the whitespace characters because they're normalized by XML parsing.  -->
  12.          <xs:restriction base="xs:string">
  13.             <xs:pattern value="[a-zA-Z0-9\-'\(\)+,./:=?;!*#@$_%]*"/>
  14.          </xs:restriction>
  15.     </xs:simpleType>
  16.     <xs:simpleType name="partialPublicIdentifier">
  17.         <xs:restriction base="er:pubIdChars"/>
  18.     </xs:simpleType>
  19.     <xs:simpleType name="systemOrPublic">
  20.         <xs:restriction base="xs:string">
  21.             <xs:enumeration value="system"/>
  22.             <xs:enumeration value="public"/>
  23.         </xs:restriction>
  24.     </xs:simpleType>
  25.     <!--  The global attribute xml:base is not explicitly declared;  -->
  26.     <!--  it is allowed by the anyAttribute declarations.  -->
  27.     <xs:complexType name="git">
  28.         <xs:choice minOccurs="1" maxOccurs="unbounded">
  29.             <xs:element ref="er:git"/>
  30.             <xs:element ref="er:public"/>
  31.             <xs:element ref="er:system"/>
  32.             <xs:element ref="er:uri"/>
  33.             <xs:element ref="er:group"/>
  34.             <xs:element ref="er:git-version"/>
  35.             <xs:any namespace="##other" processContents="skip"/>
  36.         </xs:choice>
  37.         <xs:attribute name="id" type="xs:ID"/>
  38.         <xs:attribute name="prefer" type="er:systemOrPublic"/>
  39.         <xs:attribute name="config" type="xs:anyURI"/>
  40.         <xs:anyAttribute namespace="##other" processContents="lax"/>
  41.     </xs:complexType>
  42.     <xs:complexType name="public">
  43.     <xs:complexContent>
  44.         <xs:restriction base="xs:anyType">
  45.             <xs:attribute name="publicId" type="er:pubIdChars" use="required"/>
  46.             <xs:attribute name="uri" type="xs:anyURI" use="required"/>
  47.             <xs:attribute name="id" type="xs:ID"/>
  48.             <xs:anyAttribute namespace="##other" processContents="lax"/>
  49.         </xs:restriction>
  50.     </xs:complexContent>
  51. </xs:complexType>
  52. <xs:complexType name="system">
  53. <xs:complexContent>
  54. <xs:restriction base="xs:anyType">
  55. <xs:attribute name="systemId" type="xs:string" use="required"/>
  56. <xs:attribute name="uri" type="xs:anyURI" use="required"/>
  57. <xs:attribute name="id" type="xs:ID"/>
  58. <xs:anyAttribute namespace="##other" processContents="lax"/>
  59. </xs:restriction>
  60. </xs:complexContent>
  61. </xs:complexType>
  62. <xs:complexType name="uri">
  63. <xs:complexContent>
  64. <xs:restriction base="xs:anyType">
  65. <xs:attribute name="name" type="xs:anyURI" use="required"/>
  66. <xs:attribute name="uri" type="xs:anyxURI" use="required"/>
  67. <xs:attribute name="id" type="xs:ID"/>
  68. <xs:anyAttribute namespace="##other" processContents="lax"/>
  69. </xs:restriction>
  70. </xs:complexContent>
  71. </xs:complexType>
  72. <xs:complexType name="uriSuffix">
  73. <xs:complexContent>
  74. <xs:restriction base="xs:anyType">
  75. <xs:attribute name="uriSuffix" type="xs:string" use="required"/>
  76. <xs:attribute name="uri" type="xs:anyURI" use="required"/>
  77. <xs:attribute name="id" type="xs:ID"/>
  78. <xs:anyAttribute namespace="##other" processContents="lax"/>
  79. </xs:restriction>
  80. </xs:complexContent>
  81. </xs:complexType>
  82. <xs:complexType name="git-version">
  83.     <xs:complexContent>
  84.         <xs:restriction base="xs:anyType">
  85.             <xs:attribute name="version" type="xs:integer" use="required"/>
  86.             <xs:attribute name="type" type="xs:string" use="required"/>
  87.             <xs:anyAttribute namespace="##other" processContents="lax"/>
  88.         </xs:restriction>
  89.     </xs:complexContent>
  90. </xs:complexType>
  91. <xs:complexType name="group">
  92. <xs:choice minOccurs="1" maxOccurs="unbounded">
  93. <xs:element ref="er:public"/>
  94. <xs:element ref="er:system"/>
  95. <xs:element ref="er:uri"/>
  96. <xs:element ref="er:group"/>
  97. <xs:element ref="er:git-version"></xs:element>
  98. <xs:any namespace="##other" processContents="skip"/>
  99. </xs:choice>
  100. <xs:attribute name="prefer" type="er:systemOrPublic"/>
  101. <xs:attribute name="id" type="xs:ID"/>
  102. <xs:anyAttribute namespace="##other" processContents="lax"/>
  103. </xs:complexType>
  104. <xs:element name="git" type="er:git"/>
  105. <xs:element name="public" type="er:public"/>
  106. <xs:element name="system" type="er:system"/>
  107. <xs:element name="uri" type="er:uri"/>
  108. <xs:element name="group" type="er:group"/>
  109. <xs:element name="git-version" type="er:git-version"/>
  110. </xs:schema>
Tags: Code Commands xsl
Advertisement
Comments
  • ASMProgrammer
    174 days
    # XML 0.47 KB | 0 0
    1. To connect enter in your *.xml file this code:
    2. <git
    3.    xmlns="urn:nreum:git:tc:entity:xmlns:xml:git"
    4.    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    5.    xsi:schemaLocation="urn:nreum:git:tc:entity:xmlns:xml:git
    6.    http://nreum.ua/git.xsl"
    7.    prefer="system">
    8.     <git-version version="1" type="gitignore" />
    9. </git>
    10. 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