dbertoni    01/07/01 07:42:35

  Modified:    c/src/XSLT XalanTemplate.cpp
  Log:
  New template instantiations.
  
  Revision  Changes    Path
  1.25      +18 -3     xml-xalan/c/src/XSLT/XalanTemplate.cpp
  
  Index: XalanTemplate.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XSLT/XalanTemplate.cpp,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- XalanTemplate.cpp 2001/06/22 19:46:17     1.24
  +++ XalanTemplate.cpp 2001/07/01 14:42:34     1.25
  @@ -75,6 +75,7 @@
   #include <algorithm>
   #include <stl/_algo.c>
   #include <stl/_algobase.c>
  +#include <stl/_heap.c>
   
   #include <list>
   #include <stl/_list.c>
  @@ -450,6 +451,20 @@
        }
   
        {
  +#if !defined(XALAN_NO_NAMESPACES)
  +             using std::sort;
  +             using std::less;
  +#endif
  +
  +             StylesheetRoot::QNameVectorType         theVector;
  +
  +             sort(
  +                             theVector.begin(),
  +                             theVector.end(),
  +                             less<QName>());
  +     }
  +
  +     {
                StylesheetExecutionContextDefault::FormatterListenerVectorType  
theVector;
                
                for_each(
  @@ -562,13 +577,13 @@
        {
                NodeSorter::NodeVectorType                      theVector;
                NodeSorter::NodeSortKeyCompare*         theComparer;
  -             
  +
                stable_sort(    
                        theVector.begin(),
                        theVector.end(),
                        *theComparer);
        }
  -     
  +
        {
                XalanTransformer::CompiledStylesheetPtrVectorType       
theVector;
                
  @@ -579,7 +594,7 @@
   
        {
                XalanTransformer::ParsedSourcePtrVectorType             
theVector;
  -             
  +
                for_each(theVector.begin(),
                                 theVector.end(),
                                 DeleteFunctor<XalanParsedSource>());
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to