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/03 23:57:35 UTC

cvs commit: xml-xalan/c/src/XPath XPathSupportDefault.cpp

dbertoni    00/05/03 14:57:35

  Modified:    c/src/XPath XPathSupportDefault.cpp
  Log:
  Added call to XalanDocument::getElementById().
  
  Revision  Changes    Path
  1.7       +3 -3      xml-xalan/c/src/XPath/XPathSupportDefault.cpp
  
  Index: XPathSupportDefault.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XPath/XPathSupportDefault.cpp,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- XPathSupportDefault.cpp	2000/04/19 18:14:20	1.6
  +++ XPathSupportDefault.cpp	2000/05/03 21:57:35	1.7
  @@ -164,10 +164,10 @@
   
   XalanElement*
   XPathSupportDefault::getElementByID(
  -			const XalanDOMString&	/* id */,
  -			const XalanDocument&	/* doc */) const
  +			const XalanDOMString&	id,
  +			const XalanDocument&	doc) const
   {
  -	return 0;
  +	return doc.getElementById(id);
   }