22 lines
561 B
Plaintext
22 lines
561 B
Plaintext
|
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( )
|