Project

Profile

Help

HTML entity parsing in David Carlisle's htmlparse.xsl fai... » htmlparse-test-input.xml

Martin Honnen, 2020-07-02 20:26

 
1
<?xml version="1.0" encoding="utf-8"?>
2
<html lang="en">
3
    <head>
4
        <title>Test</title>
5
    </head>
6
    <body>
7
        <section>
8
            <h2>numeric character reference test</h2>
9
            <div>Text with non-breaking space:&#160;test.</div>
10
        </section>
11
        <section>
12
            <h2>hexadecimal character reference test</h2>
13
            <div>Text with non-breaking space:&#xA0;test.</div>
14
        </section>
15
        <section>
16
            <h2>htmlparse test</h2>
17
            <data><![CDATA[<p>parse HTML & XML:&nbsp; HTML entity references
18
                <p lang=de>&Auml;rger]]></data>
19
        </section>
20
    </body>
21
</html>
(3-3/3)