00001 /* 00002 * Copyright 1999-2000,2004 The Apache Software Foundation. 00003 * 00004 * Licensed under the Apache License, Version 2.0 (the "License"); 00005 * you may not use this file except in compliance with the License. 00006 * You may obtain a copy of the License at 00007 * 00008 * http://www.apache.org/licenses/LICENSE-2.0 00009 * 00010 * Unless required by applicable law or agreed to in writing, software 00011 * distributed under the License is distributed on an "AS IS" BASIS, 00012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00013 * See the License for the specific language governing permissions and 00014 * limitations under the License. 00015 */ 00016 00017 /* 00018 * $Id: XMLDOMUtil.h,v 1.4 2004/09/08 13:55:36 peiyongz Exp $ 00019 */ 00020 00021 #ifndef ___wrapnode_h___ 00022 #define ___wrapnode_h___ 00023 00024 #include <xercesc/util/XercesDefs.hpp> 00025 #include <xercesc/dom/DOMNode.hpp> 00026 XERCES_CPP_NAMESPACE_USE 00027 00028 extern const OLECHAR* g_DomNodeName[]; 00029 extern const int g_DomNodeNameSize; 00030 00031 void GetXML (const DOMNode* node, _bstr_t &text); 00032 HRESULT wrapNode(IXMLDOMDocument *pDoc, DOMNode* node, REFIID iid, LPVOID *pVal); 00033 00034 00035 00036 #endif // ___wrapnode_h___