String test = startTag.getAttribute("test");
if( test!=null ) {
try {
onActionReady(new SAction(
new XPath(test,null,new PrefixResolverImpl(this), XPath.SELECT),
document.toString().trim()
));
} catch( TransformerException e ) {
reader.reportError( SRELAXNGReader.ERR_INVALID_XPATH, test, e.getMessage() );