मैं नीचे की तरह एक XSD फ़ाइल के बीच संबंधों को परिभाषित करने के लिए: तो यहाँ मैं परिभाषित किया हैXSD - कैसे दो तत्वों
<finder-def name="circleFinder" description="Finds circle based on msisdn" class="com.onmobile.reporting.etl.processor.common.propertyplugins.CircleIdPropertyPlugin" />
<dimension name="circleId">
<finder name="circleFinder" />
</dimension>
,:
<element name="finder-def" minOccurs="0" maxOccurs="unbounded">
<complexType>
<attribute name="name" type="string" use="required"></attribute>
<attribute name="description" type="string"></attribute>
<attribute name="class" type="string" use="required"></attribute>
</complexType>
</element>
<complexType name="Dimension">
<sequence>
<element name="finder" type="Finder" minOccurs="0" maxOccurs="1"/>
</sequence>
</complexType>
<complexType name="Finder">
<attribute name="name" type="String" use="required"/>
</complexType>
एक्सएमएल फ़ाइल ऊपर XSD फ़ाइल से मेल खाती है नीचे है एक finder-def
यानी circleFinder
और फिर finder-def
finder
तत्व के माध्यम से संदर्भित करना चाहते हैं।
तो सवाल मैं मान्य कर सकते हैं कैसे है कि finder
circleFinder
अपने defination finder-def
एक वैध और compltete .xml और एक वैध और पूर्ण .xsd नमूना प्रदान करें (मैं इसे प्रमाणित करने के लिए एक सा स्वरूपित है)। – FailedDev