diff --git a/PageCompiler/doc/PageCompilerUserGuide.page b/PageCompiler/doc/PageCompilerUserGuide.page index 12b42a908..f9ccde85f 100644 --- a/PageCompiler/doc/PageCompilerUserGuide.page +++ b/PageCompiler/doc/PageCompilerUserGuide.page @@ -4,8 +4,8 @@ POCO PageCompiler !!!Introduction PageCompiler is a command line tool that translates HTML files (and other kinds of files) into C++ code, more precisely, subclasses of Poco::Net::HTTPRequestHandler. -The source files can contain special directives that allow embedding of C++ code. -The syntax of these directives is based on the syntax used for +The source files can contain special directives that allow embedding of C++ code. +The syntax of these directives is based on the syntax used for Java Server Pages (JSP) and Active Server Pages (ASP). The following introductory sample shows the code for a simple page that displays the @@ -16,13 +16,13 @@ current date and time. #include "Poco/DateTime.h" #include "Poco/DateTimeFormatter.h" #include "Poco/DateTimeFormat.h" - - + + using Poco::DateTime; using Poco::DateTimeFormatter; using Poco::DateTimeFormat; %> - + <% DateTime now; std::string dt(DateTimeFormatter::format(now, DateTimeFormat::SORTABLE_FORMAT)); @@ -36,14 +36,14 @@ current date and time.
<%= dt %>