File: sample2.xml

package info (click to toggle)
pxp 1.1.4-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 6,944 kB
  • ctags: 1,728
  • sloc: ml: 15,005; xml: 2,583; sh: 972; makefile: 677
file content (23 lines) | stat: -rw-r--r-- 710 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
23
<!DOCTYPE html
     PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
            "xhtml1-strict.dtd">

<xhtml:html xmlns:xhtml='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"><xhtml:b>$content</xhtml:b></macro:define>
  <!-- HTML: -->
  <xhtml:head>
    <xhtml:title>Sample page</xhtml:title>
  </xhtml:head>

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