[relaxng] Element content only
Posted: Tue Mar 02, 2010 9:38 pm
the following element is declared element content only by oxygen:
This does not the seem to be the case, and prohibits editing in author without disabling the "Insert text only in valid locations" (or equivalent options in other oxygen 11.x).
Is there another option or relaxng architecture option to solve this?
Thanks in advance.
Code: Select all
<define name="datatype.nsn">
<data type="string">
<param name="pattern">\d{4}-\d{2}-\d{3}-\d{4}</param>
</data>
</define>
<define name="element.nsn">
<element name="nsn">
<optional>
<ref name="datatype.nsn"/>
</optional>
</element>
</define>
Is there another option or relaxng architecture option to solve this?
Thanks in advance.