Bug 96478. Change the use of getAttributeNode and getAttribute to getAttr

r=peterv sr=jst a=asa


git-svn-id: svn://10.0.0.236/trunk@183593 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
sicking%bigfoot.com
2005-11-02 07:37:11 +00:00
parent ae5fb36015
commit e529117acb

View File

@@ -80,7 +80,7 @@ MBool txNodeSorter::addSortElement(Element* aSortElement,
String attrValue;
// Select
if (aSortElement->getAttributeNode(SELECT_ATTR))
if (aSortElement->hasAttr(txXSLTAtoms::select, kNameSpaceID_None))
key->mExpr = mPs->getExpr(aSortElement, ProcessorState::SelectAttr);
else {
if (!mDefaultExpr) {