Mark Fletcher wrote: > My company is using the DITA schema, which has required attributes with > a default value (@class) and processing attributes (@xtrf, @xtrc), all > of which authors should not modify. After chasing down a number of > publishing bugs today, I've decided I'd really like to prevent these > attributes from being created/edited. > > Is it possible to hide the attributes altogether? If not, is it best to > use a documentHook on Save that will remove certain attributes? Any > other options? >
Sorry but I don't see any solution easier than the documentHook. In XXE, unlike elements, attributes are not first class citizens and therefore, there is no way to make them read-only.

