@Override
  public void attribute(NodeName nodeName, SimpleType type, CharSequence value, Location location, int properties) throws XPathException {
    if (myEventQueue.isEnabled()) {
      myEventQueue.attribute(nodeName.getPrefix(), nodeName.getLocalPart(), nodeName.getURI(), value.toString());
    }
    myEmitter.attribute(nodeName, type, value, location, properties);
  }
@Override
  public void attribute(NodeName nodeName, SimpleType type, CharSequence value, Location location, int properties)