mirror of
https://github.com/jezhiggins/arabica
synced 2025-01-02 06:20:38 +01:00
32 lines
544 B
C++
32 lines
544 B
C++
|
#ifndef ARABICA_XSLT_COMMENT_HPP
|
||
|
#define ARABICA_XSLT_COMMENT_HPP
|
||
|
|
||
|
#include "xslt_item.hpp"
|
||
|
|
||
|
namespace Arabica
|
||
|
{
|
||
|
namespace XSLT
|
||
|
{
|
||
|
|
||
|
class Comment : public ItemContainer
|
||
|
{
|
||
|
public:
|
||
|
Comment() { }
|
||
|
virtual ~Comment() { }
|
||
|
|
||
|
virtual void execute(const DOM::Node<std::string>& node, ExecutionContext& context) const
|
||
|
{
|
||
|
context.sink().start_comment();
|
||
|
|
||
|
execute_children(node, context);
|
||
|
|
||
|
context.sink().end_comment();
|
||
|
} // execute
|
||
|
}; // class Comment
|
||
|
|
||
|
} // namespace XSLT
|
||
|
} // namespace Arabica
|
||
|
|
||
|
#endif
|
||
|
|