File: files.htp

package info (click to toggle)
htp 1.19-8
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 1,272 kB
  • sloc: ansic: 6,645; perl: 204; makefile: 60
file content (38 lines) | stat: -rw-r--r-- 888 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<output file="fruits">
<fruit name=banana>
<fruit name=apple>
<fruit name=pineapple>
<fruit name=mango>
<fruit name=strawberry>
</output>

<def name=fruit option=name>
  <li><use name></li>
</def>

Sorted fruits:
<ul>
<file execute="sort < fruits" redirect>
</ul>

Include Test:
Title:
<blockdef name=title>Reading Title: <use block></blockdef>
<blockdef name=value></blockdef>
<file include="files.hti">
<undef title><undef value>

Value:
<blockdef name=title></blockdef>
<blockdef name=value>Reading Value: <use block></blockdef>
<file include="files.hti">
<undef title><undef value>

<file name="files.hti" size="byte">
<file name="files.hti" size="kbyte">
<file name="files.hti" size="mbyte">
<file name="files.hti" size="gbyte">

<file name="files.hti" size="kbyte" precision="9">
<file name="files.hti" size="mbyte" precision="9">
<file name="files.hti" size="gbyte" precision="9">