<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style>
<!--
@font-face
        {font-family:Wingdings}
@font-face
        {font-family:Wingdings}
@font-face
        {font-family:Calibri}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif"}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline}
span.E-mailStijl17
        {font-family:"Calibri","sans-serif";
        color:windowtext}
.MsoChpDefault
        {font-family:"Calibri","sans-serif"}
@page WordSection1
        {margin:70.85pt 70.85pt 70.85pt 70.85pt}
div.WordSection1
        {}
-->
</style>
</head>
<body lang="NL" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hi,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span lang="EN-US">I’ve got my schema working quite well at the moment. But it can use some more restrictions. For example when my topic already contains a read-more element, it is possible to insert a read-more element before it.</span></p>
<p class="MsoNormal"><span lang="EN-US">I found out that in DITA it is possible to insert a title element before another title element. After inserting the second title element oXygen shows an error message that only one title element is allowed.</span></p>
<p class="MsoNormal"><span lang="EN-US">The same goes for my schema. I cannot insert the same element after an element but can insert it before it, although only one of the same element is allowed.</span></p>
<p class="MsoNormal"><span lang="EN-US">How can I prevent (if it is possible at all) to insert the same element before the same type of element?</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">For example, this is possible in DITA:</span></p>
<p class="MsoNormal"><topic></p>
<p class="MsoNormal"><span lang="EN-US"><!—it is possible to insert a title element here, by clicking the right mouse button at the title element and selecting insert before
</span><span style="font-family:Wingdings">à</span><span lang="EN-US"></span></p>
<p class="MsoNormal"><span lang="EN-US"><title>The title of the topic</title></span></p>
<p class="MsoNormal"><span lang="EN-US"><!—it is possible to insert a body element here
</span><span lang="EN-US" style="font-family:Wingdings">à</span><span lang="EN-US"></span></p>
<p class="MsoNormal"><span lang="EN-US"><body/></span></p>
<p class="MsoNormal"><span lang="EN-US"></topic></span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="">Kind regards,</span></p>
<p class="MsoNormal"><span style=""> </span></p>
<p class="MsoNormal"><span style=""> </span></p>
<p class="MsoNormal"><span style="">Roderik Dernison</span></p>
<p class="MsoNormal"> </p>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="1"><br>
----------------------------------------------------------<br>
Aan dit bericht kunnen geen rechten worden ontleend.<br>
Het bericht is alleen bestemd voor de geadresseerde.<br>
Indien het bericht niet voor u is bestemd, verzoeken wij<br>
u dit aan ons te melden en het bericht te verwijderen.<br>
<br>
This message shall not constitute any obligations.<br>
This message is intended solely for the addressee.<br>
If you have received this message in error, please<br>
inform us and delete the message.<br>
----------------------------------------------------------<br>
</font>
</body>
</html>