diff options
| author | Adrian Kummerlaender | 2014-07-08 14:06:47 +0200 | 
|---|---|---|
| committer | Adrian Kummerlaender | 2014-07-08 14:06:47 +0200 | 
| commit | 716958c6acb77f4f63cc6f99d741fe0a901a25ba (patch) | |
| tree | 00eab42295e3e719d59b3c29389931b95108d7e1 /src/support/dom/result_node_facade.h | |
| parent | 8f05c7de54336daefb214a754de35367098b6510 (diff) | |
| download | InputXSLT-716958c6acb77f4f63cc6f99d741fe0a901a25ba.tar InputXSLT-716958c6acb77f4f63cc6f99d741fe0a901a25ba.tar.gz InputXSLT-716958c6acb77f4f63cc6f99d741fe0a901a25ba.tar.bz2 InputXSLT-716958c6acb77f4f63cc6f99d741fe0a901a25ba.tar.lz InputXSLT-716958c6acb77f4f63cc6f99d741fe0a901a25ba.tar.xz InputXSLT-716958c6acb77f4f63cc6f99d741fe0a901a25ba.tar.zst InputXSLT-716958c6acb77f4f63cc6f99d741fe0a901a25ba.zip  | |
Added ResultNodeFacade constructor overload for root nodes
* the common use case of ResultNodeFacade inside external function implementations is managing the result root node
** this root node can be fetched through the xercesc::DOMDocument instance
** the new alias overload automatically fetches the root node pointer and as such doesn't require a root node parameter
* changed external function implementations accordingly
Diffstat (limited to 'src/support/dom/result_node_facade.h')
| -rw-r--r-- | src/support/dom/result_node_facade.h | 2 | 
1 files changed, 2 insertions, 0 deletions
diff --git a/src/support/dom/result_node_facade.h b/src/support/dom/result_node_facade.h index c7e831e..c743f92 100644 --- a/src/support/dom/result_node_facade.h +++ b/src/support/dom/result_node_facade.h @@ -11,11 +11,13 @@ namespace InputXSLT {  class ResultNodeFacade {  	public: +		ResultNodeFacade(xercesc::DOMDocument*, const std::string&);  		ResultNodeFacade(  			xercesc::DOMDocument*,  			xercesc::DOMNode*,  			const std::string&  		); +  		~ResultNodeFacade();  		xercesc::DOMElement* getResultElement();  | 
