diff options
author | Adrian Kummerlaender | 2014-07-04 22:41:17 +0200 |
---|---|---|
committer | Adrian Kummerlaender | 2014-07-04 22:41:17 +0200 |
commit | f05e742b88e3ebf7401c252332022f1a2f7eb8b0 (patch) | |
tree | 038e011e808eb86e4c8ebfee11132e5c952edaf0 /src/support/dom | |
parent | 784ac42a0f05608e3d9c5e15246dbf76ce9e3d51 (diff) | |
download | InputXSLT-f05e742b88e3ebf7401c252332022f1a2f7eb8b0.tar InputXSLT-f05e742b88e3ebf7401c252332022f1a2f7eb8b0.tar.gz InputXSLT-f05e742b88e3ebf7401c252332022f1a2f7eb8b0.tar.bz2 InputXSLT-f05e742b88e3ebf7401c252332022f1a2f7eb8b0.tar.lz InputXSLT-f05e742b88e3ebf7401c252332022f1a2f7eb8b0.tar.xz InputXSLT-f05e742b88e3ebf7401c252332022f1a2f7eb8b0.tar.zst InputXSLT-f05e742b88e3ebf7401c252332022f1a2f7eb8b0.zip |
Changed FunctionTransform result type to node-set
* using xalan::FormatterToXercesDOM internally
** this required changes to the TransformationFacade::generate member method overloads
* TransformationFacade::generate now accepts references to xalan::FormatterListener instances
** "generate(std::basic_ostream<char>&..." instantiates a xalan::FormatterToXML and passes it to the actual generate member method
* changed ResultNodeFacade's "getNode" method into a "getResultElement" method
** xalan::FormatterToXercesDOM requires a xercesc::DOMElement instance instead of the previously available xercesc::DOMNode instance
** changed FunctionReadDirectory accordingly
* adapted FunctionTransform test case accordingly
Diffstat (limited to 'src/support/dom')
-rw-r--r-- | src/support/dom/result_node_facade.cc | 2 | ||||
-rw-r--r-- | src/support/dom/result_node_facade.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/support/dom/result_node_facade.cc b/src/support/dom/result_node_facade.cc index eeb2cc6..570b4e1 100644 --- a/src/support/dom/result_node_facade.cc +++ b/src/support/dom/result_node_facade.cc @@ -22,7 +22,7 @@ ResultNodeFacade::~ResultNodeFacade() { this->root_node_->appendChild(this->result_node_); } -xercesc::DOMNode* ResultNodeFacade::getNode() { +xercesc::DOMElement* ResultNodeFacade::getResultElement() { return this->result_node_; } diff --git a/src/support/dom/result_node_facade.h b/src/support/dom/result_node_facade.h index bf73582..c7e831e 100644 --- a/src/support/dom/result_node_facade.h +++ b/src/support/dom/result_node_facade.h @@ -18,7 +18,7 @@ class ResultNodeFacade { ); ~ResultNodeFacade(); - xercesc::DOMNode* getNode(); + xercesc::DOMElement* getResultElement(); void setAttribute(const std::string&, const std::string&); void setValueNode(const std::string&, const std::string&); |