S
steadyspirit
I'm a beginner in XML and got a problem here.
In DTD, below entities were declared and all corresponding xml files
were made accordingly.
<!ENTITY addwok SYSTEM "add_work.xml">
<!ENTITY addhom SYSTEM "add_home.xml">
<!ENTITY data SYSTEM "data.xml">
<!ENTITY greet SYSTEM "greet.xml">
<!ENTITY today SYSTEM "date.xml">
<!ENTITY name "Alfred Hitchcock">
<!ENTITY signature "&name; &addwok;">
But, within XML document, only the name entity can be called (by
&name. All other entities that relate to "external entities" are not
valid for work.
Why?
Any feedback are appreciated.
In DTD, below entities were declared and all corresponding xml files
were made accordingly.
<!ENTITY addwok SYSTEM "add_work.xml">
<!ENTITY addhom SYSTEM "add_home.xml">
<!ENTITY data SYSTEM "data.xml">
<!ENTITY greet SYSTEM "greet.xml">
<!ENTITY today SYSTEM "date.xml">
<!ENTITY name "Alfred Hitchcock">
<!ENTITY signature "&name; &addwok;">
But, within XML document, only the name entity can be called (by
&name. All other entities that relate to "external entities" are not
valid for work.
Why?
Any feedback are appreciated.