Element Tests (2)

  • element(ElementName, TypeName) matches an element named ElementName with the type TypeName. (Either can be *.)

element(*,doc:paraType)” matches elements with any name that have the type doc:paraType.

element(*:p, doc:paraType)” matches elements named “p” in any namespace that have the type doc:paraType.