Kees Jongenburger wrote:

Shouldn't the 'notfound' attribute work the same for 'number' and for 'referid'?

hmm, it's not the same. the referid can be "null" or an invalid number/alias
and you can check mm:present ...

That's a good solution.



<mm:node number="$refeid" notfound="skipbody"> blaat </mm:node> should have the same behaviour with number or referid's

And it does indeed produce the same error if 'refeid' is not known.


I now understand the that there is a difference between using a reference and using a number. The documentation for 'notfound' could make this extra clear by saying:

"What to do if the node with the specified number is not found"

instead of

"What to do if the node is not found"

good idea?

Simon





Reply via email to