Home Forums DITA and XMetaL Discussion How to hide attributes in inspector with XMetaL Author DITA 5.1? Reply To: How to hide attributes in inspector with XMetaL Author DITA 5.1?

S. Strube

Reply to: How to hide attributes in inspector with XMetaL Author DITA 5.1?

Create a macro “On_Update_ElementList”

var elemList = Application.ElementList;
var i;

for( i=elemList.count-1; i >= 0; i– )
{
if( elemList.item( i ).name == “whatever” || elemList.item( i ).name == “whatelse”)
elemList.RemoveItem( i );
}

Reply

Products
Downloads
Support