02-17-2011 02:27 PM
02-18-2011 05:42 AM
02-18-2011 08:44 AM
boolean addAspect(string aspect)
Adds a new aspect to the node. Returns true if the aspect was added successfully, false otherwise. The type is a QName of the aspect to add in either fully qualified or short name form. For example: document.addAspect("cm:translatable");
boolean removeAspect(string aspect)
Removes the specified aspect from the node.