
Hi Sean, Oxygen will perform automatically a learn structure action when you open a document and use that to guide the editing if a DTD or a schema is not specified.
I notice when the DocDecl is commented that the docbook xref element is inserted as <xref></xref> instead of <xref/>
That is because xref is declared as EMPTY in the DTD. The learn structure action generates a more relaxed model it will consider the xref element model as (#PCDATA), thus the <xref></xref> after content completion.
Then I notice when inserting an attribute the inline completion mode is auto populated with the values of all other attributes of that type in the current document.
Yes, on learn structure the attribute values are also presented.
This is a great feature, I never saw it before, it save soooo much time. Now why does it not work when the DocDecl is uncommented?
You can switch between the DTD and the learned structure using the validate and learn structure actions. Best Regards, George ------------------------------------------------------------- George Cristian Bina mailto:george@oxygenxml.com <oXygen/> XML Editor - http://www.oxygenxml.com/