gecko-dev/htmlparser/tests/logparse/test3.bl

339 строки
11 KiB
Plaintext

<begin>
<open container="HTML">
<open container="TITLE">
<title value="Example 3"/>
<close container="head">
<open container="BODY">
<attr key="bgcolor" value="#FFFFFF"/>
</open>
<newline/>
<open container="H1">
<text value="Example 3: Basic Tables"/>
<close container="H1">
<newline/>
<open container="H2">
<text value="Simple table, 75% width, border=1"/>
<close container="H2">
<newline/>
<open container="TABLE">
<attr key="border" value="1"/>
<attr key="width" value="75%"/>
</open>
<open container="TBODY">
<open container="TR">
<open container="TD">
<attr key="bgcolor" value="blue"/>
</open>
<text value="cell bg"/>
<close container="TD">
<open container="TD">
<text value="Two"/>
<close container="TD">
<open container="TD">
<text value="Three"/>
<close container="TD">
<close container="TR">
<open container="TR">
<open container="TD">
<attr key="align" value="left"/>
</open>
<text value="left"/>
<close container="TD">
<open container="TD">
<attr key="align" value="center"/>
</open>
<text value="center"/>
<close container="TD">
<open container="TD">
<attr key="align" value="right"/>
</open>
<text value="right"/>
<close container="TD">
<close container="TR">
<open container="TR">
<attr key="bgcolor" value="yellow"/>
</open>
<open container="TD">
<attr key="height" value="50"/>
</open>
<text value="row bg"/>
<close container="TD">
<open container="TD">
<attr key="valign" value="top"/>
</open>
<text value="top"/>
<close container="TD">
<open container="TD">
<attr key="valign" value="bottom"/>
</open>
<text value="bottom"/>
<close container="TD">
<close container="TR">
<close container="TBODY">
<close container="TABLE">
<newline/>
<open container="H2">
<text value="Row Span, auto width table, border=5"/>
<close container="H2">
<newline/>
<open container="TABLE">
<attr key="border" value="5"/>
</open>
<open container="TBODY">
<open container="TR">
<open container="TD">
<attr key="rowspan" value="2"/>
</open>
<text value="c0r[0-1] Data 1 span=2 rows"/>
<close container="TD">
<open container="TD">
<text value="c0r0"/>
<close container="TD">
<open container="TD">
<text value="c1r0"/>
<close container="TD">
<close container="TR">
<open container="TR">
<open container="TD">
<text value="c0r1"/>
<close container="TD">
<open container="TD">
<text value="c1r1"/>
<close container="TD">
<close container="TR">
<open container="TR">
<open container="TD">
<attr key="rowspan" value="5"/>
<attr key="background" value="bg.jpg"/>
</open>
<text value="c0r[2-6],Data 2 span=5 rows"/>
<close container="TD">
<open container="TD">
<text value="c0r2"/>
<close container="TD">
<open container="TD">
<text value="c1r2"/>
<close container="TD">
<close container="TR">
<open container="TR">
<open container="TD">
<text value="c0r3"/>
<close container="TD">
<open container="TD">
<text value="c1r3"/>
<close container="TD">
<close container="TR">
<open container="TR">
<open container="TD">
<text value="c0r4"/>
<close container="TD">
<open container="TD">
<text value="c1r4"/>
<close container="TD">
<close container="TR">
<open container="TR">
<open container="TD">
<text value="c0r5"/>
<close container="TD">
<open container="TD">
<text value="c1r5"/>
<close container="TD">
<close container="TR">
<open container="TR">
<open container="TD">
<text value="c0r6"/>
<close container="TD">
<open container="TD">
<text value="c1r6"/>
<close container="TD">
<close container="TR">
<open container="TR">
<open container="TD">
<attr key="rowspan" value="3"/>
</open>
<text value="c0r[7-9] span=3 rows"/>
<close container="TD">
<open container="TD">
<text value="c0r7"/>
<close container="TD">
<open container="TD">
<text value="c1r7"/>
<close container="TD">
<close container="TR">
<open container="TR">
<open container="TD">
<text value="c0r8"/>
<close container="TD">
<open container="TD">
<text value="c1r8"/>
<close container="TD">
<close container="TR">
<open container="TR">
<open container="TD">
<text value="c0r9"/>
<close container="TD">
<open container="TD">
<text value="c1r9"/>
<close container="TD">
<close container="TR">
<close container="TBODY">
<close container="TABLE">
<newline/>
<open container="H2">
<text value="Col Span auto width table"/>
<close container="H2">
<newline/>
<open container="TABLE">
<attr key="border" value=""/>
</open>
<open container="TBODY">
<open container="TR">
<open container="TD">
<attr key="colspan" value="8"/>
</open>
<text value="r0c[0-7], span=8"/>
<close container="TD">
<open container="TD">
<attr key="colspan" value="10"/>
</open>
<text value="r0col[8-17], span=10 cols"/>
<close container="TD">
<close container="TR">
<open container="TR">
<open container="TD">
<attr key="colspan" value="3"/>
</open>
<text value="r1c[0-2], span=3"/>
<close container="TD">
<open container="TD">
<attr key="colspan" value="5"/>
</open>
<text value="r1c[3-7], span=5"/>
<close container="TD">
<open container="TD">
<attr key="colspan" value="7"/>
</open>
<text value="r1c[8-14], span=7"/>
<close container="TD">
<open container="TD">
<attr key="colspan" value="3"/>
</open>
<text value="r1c[15-17], span=3"/>
<close container="TD">
<close container="TR">
<open container="TR">
<open container="TD">
<text value="r2c0"/>
<close container="TD">
<open container="TD">
<text value="r2c1"/>
<close container="TD">
<open container="TD">
<text value="r2c3"/>
<close container="TD">
<open container="TD">
<text value="r2c4"/>
<close container="TD">
<open container="TD">
<text value="r2c5"/>
<close container="TD">
<open container="TD">
<text value="r2c6"/>
<close container="TD">
<open container="TD">
<text value="r2c7"/>
<close container="TD">
<open container="TD">
<text value="r2c8"/>
<close container="TD">
<open container="TD">
<text value="r2c9"/>
<close container="TD">
<open container="TD">
<text value="r2c10"/>
<close container="TD">
<open container="TD">
<text value="r2c11"/>
<close container="TD">
<open container="TD">
<text value="r2c12"/>
<close container="TD">
<open container="TD">
<text value="r2c13"/>
<close container="TD">
<open container="TD">
<text value="r2c14"/>
<close container="TD">
<open container="TD">
<text value="r2c15"/>
<close container="TD">
<open container="TD">
<text value="r2c16"/>
<close container="TD">
<open container="TD">
<text value="r2c17"/>
<close container="TD">
<open container="TD">
<text value="r2c18"/>
<close container="TD">
<close container="TR">
<close container="TBODY">
<close container="TABLE">
<newline/>
<open container="H2">
<text value="Row and Col Span"/>
<close container="H2">
<newline/>
<open container="TABLE">
<attr key="border" value=""/>
</open>
<open container="TBODY">
<open container="TR">
<open container="TD">
<attr key="colspan" value="2"/>
<attr key="rowspan" value="2"/>
</open>
<text value="r[0-2]c[0-1]"/>
<close container="TD">
<open container="TD">
<text value="r0c2"/>
<close container="TD">
<open container="TD">
<text value="r0c3"/>
<close container="TD">
<close container="TR">
<open container="TR">
<open container="TD">
<text value="r1c2"/>
<close container="TD">
<open container="TD">
<text value="r1c3"/>
<close container="TD">
<close container="TR">
<open container="TR">
<open container="TD">
<text value="r2c0"/>
<close container="TD">
<open container="TD">
<text value="r2c1"/>
<close container="TD">
<open container="TD">
<text value="r2c2"/>
<close container="TD">
<open container="TD">
<text value="r2c3"/>
<close container="TD">
<close container="TR">
<close container="TBODY">
<close container="TABLE">
<newline/>
<open container="P">
<entity value="bs"/>
<close container="P">
<newline/>
<newline/>
<newline/>
<close container="body">
<close container="html">
</begin>