arabica/include/XSLT/impl/xslt_comment.hpp
2010-01-02 22:53:28 +00:00

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