- <!-- BEGIN: main -->
-
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-
- <html>
- <head>
- <title>XiTemplate Manual - rparse()</title>
- </head>
-
- <body>
-
- <h1>XiTemplate</h1>
- <p>Hi. Welcome to {NAME}!</p>
-
- <!-- BEGIN: subBlock1 -->
- <p>This block is: {SUB1}</p>
- <!-- END: subBlock1 -->
-
- <!-- BEGIN: subBlock2 -->
- <p>This block is: {SUB2}</p>
- <!-- END: subBlock2 -->
-
- <!-- BEGIN: subBlock3 -->
- <p>This block is: {SUB3}</p>
- <!-- END: subBlock3 -->
-
- <p>Notice how {SUB3} gets parsed twice since it was explicitly parsed by parse() and then
- parsed again by rparse(). This is not a bug since calling rparse will recursively parse
- all blocks contained within the parent block. It might be a feature, though. :-)</p>
-
- </body>
- </html>
-
- <!-- END: main -->