2007-07-19 19:01:42 +02:00
|
|
|
#ifndef ARABICA_XSLT_COMMENT_HPP
|
|
|
|
#define ARABICA_XSLT_COMMENT_HPP
|
|
|
|
|
|
|
|
#include "xslt_item.hpp"
|
|
|
|
|
|
|
|
namespace Arabica
|
|
|
|
{
|
|
|
|
namespace XSLT
|
|
|
|
{
|
|
|
|
|
2012-11-02 23:37:46 +01:00
|
|
|
template<class string_type, class string_adaptor>
|
2007-07-19 19:01:42 +02:00
|
|
|
class Comment : public ItemContainer
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
Comment() { }
|
|
|
|
virtual ~Comment() { }
|
|
|
|
|
2012-11-02 23:37:46 +01:00
|
|
|
virtual void execute(const DOM::Node<string_type, string_adaptor>& node, ExecutionContext& context) const
|
2007-07-19 19:01:42 +02:00
|
|
|
{
|
|
|
|
context.sink().start_comment();
|
|
|
|
|
|
|
|
execute_children(node, context);
|
|
|
|
|
|
|
|
context.sink().end_comment();
|
|
|
|
} // execute
|
|
|
|
}; // class Comment
|
|
|
|
|
|
|
|
} // namespace XSLT
|
|
|
|
} // namespace Arabica
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|