|
1 StartDocument( ) |
|
2 DTD( text="<!DOCTYPE html:html [ |
|
3 <!ENTITY ent1 'foo'> |
|
4 <!ENTITY ent2 'foo<br/>'> |
|
5 <!ELEMENT html:html (html:head, html:body)> |
|
6 <!ATTLIST html:html xmlns:html CDATA #IMPLIED> |
|
7 <!ELEMENT html:head (html:title,script*)> |
|
8 <!ATTLIST html:head xmlns CDATA #IMPLIED> |
|
9 <!ELEMENT script (#PCDATA)> |
|
10 <!ATTLIST script |
|
11 src CDATA #IMPLIED |
|
12 type CDATA #IMPLIED |
|
13 charset CDATA #IMPLIED> |
|
14 <!ELEMENT html:title (#PCDATA)> |
|
15 <!ELEMENT html:body (html:p)> |
|
16 <!ELEMENT html:p (#PCDATA|html:br)*> |
|
17 <!ATTLIST html:p class CDATA #IMPLIED> |
|
18 <!ELEMENT html:br EMPTY> |
|
19 ]>" dtdName="html" |
|
20 EntityDeclaration( name="ent1" value="foo" ) |
|
21 |
|
22 EntityDeclaration( name="ent2" value="foo<br/>" ) |
|
23 ) |
|
24 StartElement( name="html" namespaceUri="http://www.w3.org/1999/xhtml" qualifiedName="html:html" prefix="html" |
|
25 NamespaceDeclaration( prefix="html" namespaceUri="http://www.w3.org/1999/xhtml" ) |
|
26 ) |
|
27 Characters( whitespace text=" |
|
28 " ) |
|
29 StartElement( name="head" namespaceUri="http://www.w3.org/1999/xhtml" qualifiedName="html:head" prefix="html" |
|
30 NamespaceDeclaration( namespaceUri="http://www.w3.org/1999/xhtml" ) |
|
31 ) |
|
32 Characters( whitespace text=" |
|
33 " ) |
|
34 StartElement( name="title" namespaceUri="http://www.w3.org/1999/xhtml" qualifiedName="html:title" prefix="html" ) |
|
35 Characters( text="test file" ) |
|
36 EndElement( name="title" namespaceUri="http://www.w3.org/1999/xhtml" qualifiedName="html:title" ) |
|
37 Characters( whitespace text=" |
|
38 " ) |
|
39 EndElement( name="head" namespaceUri="http://www.w3.org/1999/xhtml" qualifiedName="html:head" ) |
|
40 Characters( whitespace text=" |
|
41 " ) |
|
42 StartElement( name="body" namespaceUri="http://www.w3.org/1999/xhtml" qualifiedName="html:body" prefix="html" ) |
|
43 Characters( whitespace text=" |
|
44 " ) |
|
45 StartElement( name="p" namespaceUri="http://www.w3.org/1999/xhtml" qualifiedName="html:p" prefix="html" |
|
46 Attribute( name="class" qualifiedName="class" value="visible:false" ) |
|
47 ) |
|
48 Characters( text="bar" ) |
|
49 EndElement( name="p" namespaceUri="http://www.w3.org/1999/xhtml" qualifiedName="html:p" ) |
|
50 Characters( whitespace text=" |
|
51 " ) |
|
52 EndElement( name="body" namespaceUri="http://www.w3.org/1999/xhtml" qualifiedName="html:body" ) |
|
53 Characters( whitespace text=" |
|
54 " ) |
|
55 EndElement( name="html" namespaceUri="http://www.w3.org/1999/xhtml" qualifiedName="html:html" ) |
|
56 EndDocument( ) |