Element Test Examples

element(*,r:FoodRecipe)” matches any non-nilled elements that have the type r:FoodRecipe.

element(r:name, r:Para)” matches non-nilled elements named r:name that have the type r:Para.

element(r:source, r:Para?)” matches elements named r:source that have the type r:Para, even if they have been nilled.