a.binder 9 år sedan
förälder
incheckning
8fa6a14a68
1 ändrade filer med 38 tillägg och 0 borttagningar
  1. 38 0
      SE/schema/default_db_xml_cache.public/topicProcesy5.xsd

+ 38 - 0
SE/schema/default_db_xml_cache.public/topicProcesy5.xsd

@@ -45,6 +45,13 @@
       <xs:choice>
       <xs:choice>
         <xs:group ref="stentry.content"/>
         <xs:group ref="stentry.content"/>
         <xs:element ref="RelatedFeature"/>
         <xs:element ref="RelatedFeature"/>
+        <xs:element ref="RelatedFeaturesForEach"/>
+      </xs:choice>
+    </xs:group>
+    <xs:group name="p.content">
+      <xs:choice>
+        <xs:group ref="p.content"/>
+        <xs:element ref="RelatedFeaturesForEach"/>
       </xs:choice>
       </xs:choice>
     </xs:group>
     </xs:group>
   </xs:redefine>
   </xs:redefine>
@@ -165,4 +172,35 @@
       </xs:attribute>
       </xs:attribute>
     </xs:complexType>
     </xs:complexType>
   </xs:element>
   </xs:element>
+  <xs:element name="RelatedFeaturesForEach">
+    <xs:complexType>
+      <xs:choice>
+        <xs:group ref="topic"/>
+        <xs:choice maxOccurs="unbounded">
+          <xs:group ref="ph"/>
+          <xs:group ref="p"/>
+        </xs:choice>
+      </xs:choice>
+      <xs:attribute name="typeName" use="required">
+        <xs:annotation>
+          <xs:documentation>ex: typeName="p5_default_db:BILLING_OWNER"</xs:documentation>
+        </xs:annotation>
+        <xs:simpleType>
+          <xs:restriction base="xs:string">
+            <xs:pattern value=".*:.*"/>
+          </xs:restriction>
+        </xs:simpleType>
+      </xs:attribute>
+      <xs:attribute name="xpath" type="xs:Name" use="required">
+        <xs:annotation>
+          <xs:documentation>Like ID_BILLING_OWNER to show that (in some xpath meaning) current()/ID_BILLING_OWNER = node()[@typeName]/node()[type()='primary_key']</xs:documentation>
+        </xs:annotation>
+      </xs:attribute>
+      <xs:attribute name="xpath_value" type="xs:string">
+        <xs:annotation>
+          <xs:documentation>Wartosc do wstawienia w xpath, moze byc xpath. Jak nie ma, to nadpisac z template</xs:documentation>
+        </xs:annotation>
+      </xs:attribute>
+    </xs:complexType>
+  </xs:element>
 </xs:schema>
 </xs:schema>