Programmer's Wiki
Advertisement

This example outputs HTML markup.

Code[]

import groovy.xml.*
import java.io.*
  

Output[]

<html>
  <head>
    <title>blah</title>
  </head>
  <body>
    <h1>hello world!</h1>
  </body>
</html>
Advertisement