File: t-include.html

package info (click to toggle)
html2wml 0.4.11%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 816 kB
  • sloc: perl: 2,380; ansic: 56; makefile: 34; sh: 4
file content (24 lines) | stat: -rw-r--r-- 696 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<html>
<head>
<title>Html2Wml Test Document -- On-the-fly include</title>
</head>

<!-- The following action includes a DO element with a PREV -->
<!--[include file="inc_prev.wml"]-->

<body>
<h1>Html2Wml Test Document -- On-the-fly include</h1>

<p>This page illustrates how Html2Wml can include files on-the-fly. 
This is very useful to include for example a navigation bar, as Wap 
are not supposed to have a "Back" button as Web browser do. </p>

<p>Here we include a file of <!--[fsize file="inc_para.wml"]--> bytes. </p>

<!--[include file="inc_para.wml"]-->

<p>Note that currently, Html2Wml doesn't parse the included files, 
so they have to be valid WML fragments. </p>

</body>
</html>