arabica/include/XSLT/impl/xslt_comment.hpp
2007-07-19 17:01:42 +00:00

31 lines
544 B
C++
Executable file

#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