dbertoni    00/12/30 09:56:57

  Modified:    c/src/XSLT XSLTEngineImpl.cpp
  Log:
  Removed unused functions for expanding element and attribute names.
  
  Revision  Changes    Path
  1.77      +7 -16     xml-xalan/c/src/XSLT/XSLTEngineImpl.cpp
  
  Index: XSLTEngineImpl.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XSLT/XSLTEngineImpl.cpp,v
  retrieving revision 1.76
  retrieving revision 1.77
  diff -u -r1.76 -r1.77
  --- XSLTEngineImpl.cpp        2000/12/21 04:48:31     1.76
  +++ XSLTEngineImpl.cpp        2000/12/30 17:56:57     1.77
  @@ -2686,13 +2686,12 @@
   {
        assert(m_stylesheetRoot != 0);
        assert(stylesheetTree != 0);
  +
        const XalanNamedNodeMap* const  attributes =
                templateChild.getAttributes();
   
        const unsigned int      nAttributes = (0 != attributes) ? 
attributes->getLength() : 0;
   
  -     XalanDOMString  attrSetUseVal;
  -
        for(unsigned int        i = 0; i < nAttributes; i++)  
        {       
                const XalanAttr* const  attr =
  @@ -2702,21 +2701,13 @@
                        static_cast<const XalanAttr*>(attributes->item(i));
   #endif
                assert(attr != 0);
  -
  -             const XalanDOMString    theTemp(s_XSLNameSpaceURL + ":use");
   
  -             if(equals(m_parserLiaison.getExpandedAttributeName(*attr), 
theTemp))
  -             {
  -                     attrSetUseVal = attr->getValue();
  -             }
  -             else
  -             {
  -                     copyAttributeToTarget(*attr,
  -                                                               contextNode,
  -                                                               
stylesheetTree, 
  -                                                               attList,
  -                                                               
templateChild);
  -             }
  +             copyAttributeToTarget(
  +                             *attr,
  +                             contextNode,
  +                             stylesheetTree, 
  +                             attList,
  +                             templateChild);
        }
   }
   
  
  
  

Reply via email to