dbertoni    01/02/27 11:57:51

  Modified:    c/src/XSLT ElemValueOf.cpp
  Log:
  Removed code that was commented out.
  
  Revision  Changes    Path
  1.19      +6 -21     xml-xalan/c/src/XSLT/ElemValueOf.cpp
  
  Index: ElemValueOf.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XSLT/ElemValueOf.cpp,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- ElemValueOf.cpp   2001/02/27 16:48:43     1.18
  +++ ElemValueOf.cpp   2001/02/27 19:57:49     1.19
  @@ -175,30 +175,15 @@
   
        if (m_isDot == true)
        {
  -//           const XalanNode::NodeType       type = 
sourceNode->getNodeType();
  -//
  -//           if(type == XalanNode::COMMENT_NODE ||
  -//         type == XalanNode::PROCESSING_INSTRUCTION_NODE)
  -//           {
  -//                   outputValue(executionContext, 
sourceNode->getNodeValue());
  -//
  -//                   if(0 != executionContext.getTraceListeners())
  -//                   {
  -//                           fireSelectionEvent(executionContext, 
sourceNode, theValue);
  -//                   }
  -//           }
  -//           else
  -             {
  -                     StylesheetExecutionContext::GetAndReleaseCachedString   
theResult(executionContext);
  +             StylesheetExecutionContext::GetAndReleaseCachedString   
theResult(executionContext);
   
  -                     DOMServices::getNodeData(*sourceNode, theResult.get());
  +             DOMServices::getNodeData(*sourceNode, theResult.get());
   
  -                     outputValue(executionContext, theResult.get());
  +             outputValue(executionContext, theResult.get());
   
  -                     if(0 != executionContext.getTraceListeners())
  -                     {
  -                             fireSelectionEvent(executionContext, 
sourceNode, theResult.get());
  -                     }
  +             if(0 != executionContext.getTraceListeners())
  +             {
  +                     fireSelectionEvent(executionContext, sourceNode, 
theResult.get());
                }
        }
        else
  
  
  

Reply via email to