File: sample.xml

package info (click to toggle)
pxp 1.1.96-8
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 5,960 kB
  • ctags: 2,016
  • sloc: ml: 21,018; xml: 2,597; sh: 727; makefile: 706
file content (22 lines) | stat: -rw-r--r-- 609 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!DOCTYPE html
     PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
            "xhtml1-strict.dtd">

<html xmlns='http://www.w3.org/1999/xhtml'
      xmlns:macro='http://www.ocaml-programming.de/macro'
      xmlns:m='http://www.ocaml-programming.de/macro/use'   >
  <!-- Macro definitions: -->
  <macro:define name="keyword"><b>$content</b></macro:define>
  <!-- HTML: -->
  <head>
    <title>Sample page</title>
  </head>

  <body>
    <h1>Sample page</h1>
    A Caml program:<br/><br/>
    
    <m:keyword content="let"/> s = "Hello world" <m:keyword content="in"/><br/>
    print_endline s ;;
  </body>
</html>