blob: 80f484607087259f121f78e71badecf289a29530 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
StartDocument( documentVersion="1.0" )
DTD( text="
<!DOCTYPE doc [
<!ELEMENT doc (#PCDATA)>
<!ENTITY % e SYSTEM "something">
<!ENTITY replace "replace">
<!ENTITY me "me">
%e;
]>" dtdName="doc"
EntityDeclaration( name="e" systemId="something" )
EntityDeclaration( name="replace" value="replace" )
EntityDeclaration( name="me" value="me" )
)
StartElement( name="doc" qualifiedName="doc"
Attribute( name="a" qualifiedName="a" value="do replace me" )
)
Characters( text="and me too" )
EndElement( name="doc" qualifiedName="doc" )
EndDocument( )
|