You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by db...@locus.apache.org on 2000/05/26 21:24:45 UTC

cvs commit: xml-xalan/c/src/XSLT ElemExtensionCall.cpp ElemExtensionCall.hpp

dbertoni    00/05/26 12:24:44

  Modified:    c/src/XSLT ElemExtensionCall.cpp ElemExtensionCall.hpp
  Log:
  Functionality for ElemFallback.
  
  Revision  Changes    Path
  1.4       +8 -0      xml-xalan/c/src/XSLT/ElemExtensionCall.cpp
  
  Index: ElemExtensionCall.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XSLT/ElemExtensionCall.cpp,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ElemExtensionCall.cpp	2000/04/11 15:09:24	1.3
  +++ ElemExtensionCall.cpp	2000/05/26 19:24:42	1.4
  @@ -99,3 +99,11 @@
   */
   	executionContext.warn("Xalan C++ does not yet handle extensions!");
   }
  +
  +
  +
  +bool
  +ElemExtensionCall::elementAvailable(StylesheetExecutionContext&		executionContext) const
  +{
  +	return executionContext.elementAvailable(XalanDOMString(), m_localPart);
  +}
  
  
  
  1.5       +4 -1      xml-xalan/c/src/XSLT/ElemExtensionCall.hpp
  
  Index: ElemExtensionCall.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XSLT/ElemExtensionCall.hpp,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- ElemExtensionCall.hpp	2000/04/11 15:09:24	1.4
  +++ ElemExtensionCall.hpp	2000/05/26 19:24:43	1.5
  @@ -107,7 +107,10 @@
   			XalanNode*						sourceTree,
   			XalanNode*						sourceNode,
   			const QName&					mode) const;
  -	
  +
  +	bool
  +	elementAvailable(StylesheetExecutionContext&	executionContext) const;
  +
   private:
   
   	ExtensionNSHandler&		m_nsh;