mmidy       00/02/17 06:47:35

  Modified:    src/org/apache/xalan/xslt ElemCopyOf.java
  Log:
  Copy parent namespace and attributes
  
  Revision  Changes    Path
  1.5       +3 -0      xml-xalan/src/org/apache/xalan/xslt/ElemCopyOf.java
  
  Index: ElemCopyOf.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/src/org/apache/xalan/xslt/ElemCopyOf.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- ElemCopyOf.java   2000/01/05 23:05:30     1.4
  +++ ElemCopyOf.java   2000/02/17 14:47:34     1.5
  @@ -108,6 +108,9 @@
     {    
       super.execute(processor, sourceTree, sourceNode, mode);
       XPathSupport execContext = processor.getXMLProcessorLiaison();
  +    processor.copyAttributesToAttList( sourceNode, 
m_stylesheet.m_stylesheetRoot, 
  +                                       (Element)sourceNode, 
processor.m_pendingAttributes );          
  +    processor.copySourceNSAttrs(sourceNode, processor.m_pendingAttributes);
       XObject value = m_selectPattern.execute(execContext, sourceNode, this);
       
       if(null != m_stylesheet.m_stylesheetRoot.m_traceListeners)
  
  
  

Reply via email to