I need more information for oxy:allows-child-element.
In your documentation you said :
I was thinking that this function only check the condition on the current element, but it seems that it tests also on the children elements.The oxy:allows-child-element() function allows you to check whether or not an element that matches the arguments of the function is valid as a child of the element at the current cursor position, according to the associated schema.
In this case :
Code: Select all
<parent> <child rfuRefIds="id1"/> <child rfuRefIds="id1 id2"/> <child/> </parent>
Is it normal ?
How can I test only for current element and not his children element.
Thanks in advance,