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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user