Force reference for everey instance of a key attribute
This should cover W3C XML Schema, Relax NG and DTD related problems.
-
- Posts: 1
- Joined: Wed Feb 07, 2007 7:27 pm
Force reference for everey instance of a key attribute
Hi,
i want to define an XML Schema with a key attribute inside one element and a keyref attribute inside another element referencing to this key. Thats no problem at all. Additionally I want to enforce, that every key will be hit by at least one keyref, so that the xml-code below would be not validated, because a2key is not referenced by any keyref.
Knows anyone a solution for that problem?[/b]
i want to define an XML Schema with a key attribute inside one element and a keyref attribute inside another element referencing to this key. Thats no problem at all. Additionally I want to enforce, that every key will be hit by at least one keyref, so that the xml-code below would be not validated, because a2key is not referenced by any keyref.
Code: Select all
<a name="a1" key="a1key"/>
<a name="a2" key="a2key"/>
<b name="b1" keyref="a1key"/>
<b name="b2" keyref="a1key"/>
Knows anyone a solution for that problem?[/b]
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service