boolean processUseAttributeSets(String attrName, AttributeList atts, int which)
{
boolean isUAS = false;
if(Constants.ELEMNAME_LITERALRESULT == getXSLToken())
{
QName qname = new QName(attrName, m_stylesheet.m_namespaces);
isUAS = ((null != qname.m_namespace) &&
(qname.m_namespace.equals(m_stylesheet.m_XSLNameSpaceURL)) &&
(qname.m_localpart.equals(Constants.ATTRNAME_USEATTRIBUTESETS)));
}
else
{
isUAS = attrName.equals(Constants.ATTRNAME_USEATTRIBUTESETS);
}
if(isUAS)
{
isUAS = true;
String qnames = atts.getValue(which);
StringTokenizer tokenizer = new StringTokenizer(qnames, " \t\n\r", false);
m_attributeSetsNames = new QName[tokenizer.countTokens()];
for(int k = 0; tokenizer.hasMoreTokens(); k++)
{
m_attributeSetsNames[k] = new QName(tokenizer.nextToken(), m_stylesheet.m_namespaces);
}
}
return isUAS;
}