Write a rule and have getAllNodes('A') in the LHS condition
Observe that the B nodes are not returned.
Reason: In mmmk.js, lines 692-705, the '$type' of the node is directly matched against.
Proposal: getAllNodes should be extended with an extra boolean parameter 'includeSubclasses' which then instructs the function to include the sub class nodes.
Reason: In mmmk.js, lines 692-705, the '$type' of the node is directly matched against.
Proposal: getAllNodes should be extended with an extra boolean parameter 'includeSubclasses' which then instructs the function to include the sub class nodes.