mirror of
https://github.com/jezhiggins/arabica
synced 2024-12-29 22:23:27 +01:00
31 lines
544 B
C++
Executable file
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
|
|
|