Home Forums DITA and XMetaL Discussion CSS for XMetaL XACs, foreign languages Reply To: CSS for XMetaL XACs, foreign languages

pooh2583

Reply to: CSS for XMetaL XACs, foreign languages

Hello,

Above solution is working if and only if the element can be inserted into the current insertion point , i.e
If my DTD has structure
and suppose i have to insert element bottom and my current insertion point is  between top and middle i.e.test1
(this is my current range)
.
then according to canInsert api it throws false because as per the DTD bottom element can not be inserted at the current location
but my requirement is I have to check in entire para element whether  element bottom can
be inserted or not and if DTD allows bottom element to be inserted into para it should move to the
valid insertion point into para and insert there into the para element.

Could you please help me in determining how shall I go with it, finding whether particulr element can be inserted anywhere into the selected current node that element or not instead of that particular location

Reply

Products
Downloads
Support