mirror of
https://github.com/jezhiggins/arabica
synced 2024-12-27 21:58:30 +01:00
31 lines
544 B
C++
31 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
|
|
|