I am writing a xsd-schema file and I need to ensure that a value of an attribute (positve integer) is also the value of minOccurs and maxOccurs of another attribute. Is this somehow possible?
setting minOccurs-value with the value of another attribute in a xsd-file
66 Views Asked by windler At
1
There are 1 best solutions below
Related Questions in ATTRIBUTES
- PyQgis: Attribute field does not get added
- Getting data attributes from HTML input element with a datalist
- Blender to Unity Vertex Color (Alpha) Data Doesn't Work
- Do I need two attribute classes
- Add custom attributes on terms.ftl page for Keycloak
- How to disable HTML attributes with js?
- How can I use has_shortcode() including the attribute value?
- Regex to Find and Remove HTML ID Attribute That Starts With or Contains Specific Word
- how to get html attribute using flask?
- When is it safe to use [[no_unique_address]] in C++?
- DXL : Comparing attributes of objects across modules
- How to change connected class objects
- Usage of __attribute__((aligned(4), packed)) with structures in C
- Ambiguous error message in Firefox about partitioned attribute in cookie
- Woocommerce product option - Wordpress Post titles as a dropdown menu
Related Questions in XSD
- Delphi can not compile the unit create by its "XML Data Binding Wizard"
- In XSD do you have to import the standard schema in order to use it?
- XML default namespace vs prefix namespace declarations
- write xml using xsd using xmlschema_from_json giving error: Reason: unable to select an element for decoding data, provide a valid 'path' argument
- eclipse xml validation, https certificate SunCertPathBuilderException
- Cannot Find The Declaration Of Element 'Document'., Line '1', Column '11'
- ORA-31043: Element '' not globally defined in schema ''
- xmltype.schemaValidate changes timestamp values resulting in regex validation failure
- Jaxb inheritance with multiple XSD files fails when 1 XSD file doesn't contain a tag
- How to move namespace declaration from inner element to upper element?
- how to iterate and print logger xml object response data value we don't have java class for that object it's XSD and there is no toString()
- Re-Serialize a C# Dataset through an XSD to a XML file
- Dataweave script or function to transform unordered JSON payload to ordered XML payload?
- Imported XSD elements are always "invalid"
- XML validation Cannot Resolve The Name
Related Questions in MINOCCURS
- minOccurs/maxOccurs on xsd:sequence vs xsd:element?
- XSD XML minOccurs="0"
- How to ask my XSD schema to check one or the other one
- In XSD, when optional parent element occurs, are its children mandatory?
- How can I combine a restriction with occurence indicators in an XSD file?
- XML Schema: keyref with optional field
- Web service request from SoapUI with a missing int parameter automatically assigns 0 value when minOccurs=1
- about the use of minOccurs & maxOccurs in XML files
- minOccurs and maxOccurs inside choice
- Override minoccurs of an element from parent xsd
- XSD: How does one make optional (sub)elements dependable?
- setting minOccurs-value with the value of another attribute in a xsd-file
- Is it possible to override the minOccurs & maxOccurs attribute of an element in complexType by extension?
- Do XML parsers tell the difference between xsi:nil="true" and omitted elements?
- How to check XML for missing elements using XSD
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Not with XSD 1.0 alone.
If you could use another schema language with XSD 1.0, Schematron can do it. If you can move to XSD 1.1, an xsd:assert would do the same thing here (as the Schematron).