TextAttributesKey (String namespace, XmlElement context) { if (!(context instanceof XmlTag)) return null; if (XsltSupport.XSLT_NS.equals(((XmlTag)context).getNamespace())) return XsltSupport.XSLT_DIRECTIVE; return null; }