mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-30 13:47:10 +01:00
changes for 1.2.4
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
//
|
||||
// Document.cpp
|
||||
//
|
||||
// $Id: //poco/1.2/XML/src/Document.cpp#1 $
|
||||
// $Id: //poco/1.2/XML/src/Document.cpp#2 $
|
||||
//
|
||||
// Library: XML
|
||||
// Package: DOM
|
||||
@@ -306,4 +306,20 @@ Notation* Document::createNotation(const XMLString& name, const XMLString& publi
|
||||
}
|
||||
|
||||
|
||||
Element* Document::getElementById(const XMLString& elementId, const XMLString& idAttribute) const
|
||||
{
|
||||
Element* pElem = documentElement();
|
||||
if (pElem) pElem = pElem->getElementById(elementId, idAttribute);
|
||||
return pElem;
|
||||
}
|
||||
|
||||
|
||||
Element* Document::getElementByIdNS(const XMLString& elementId, const XMLString& idAttributeURI, const XMLString& idAttributeLocalName) const
|
||||
{
|
||||
Element* pElem = documentElement();
|
||||
if (pElem) pElem = pElem->getElementByIdNS(elementId, idAttributeURI, idAttributeLocalName);
|
||||
return pElem;
|
||||
}
|
||||
|
||||
|
||||
} } // namespace Poco::XML
|
||||
|
||||
Reference in New Issue
Block a user