Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Public DTD entity files

Status
Not open for further replies.

elliottmina

Programmer
Feb 6, 2005
12
0
0
US
I am creating an atom feed, and I am confused about including external entity files as DTDs. My goal is to include the entity definitions in my xml as external files instead of putting the definitions inline.

At the top of my document I have:
Code:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE atom [
<!ENTITY % xhtml-lat1 PUBLIC "-//W3C//ENTITIES Latin 1 for XHTML//EN" "[URL unfurl="true"]http://www.w3.org/MarkUp/DTD/xhtml-lat1.ent"[/URL] > 
%xhtml-lat1;
]>

Further down in the file I have:
Code:
<atom:title>Fa&ccedil;on</atom:title>

The xml is choking on the &ccedil;, presumably because it isn't reading in the ent file.

TIA
 
Check out this thread
for some inspiration.

ps: I am not sure to your mind, DOCTYPE [blue]atom[/blue] has any relevance as of any relation to [blue]atom[/blue]:title. If you think there is some relation, then I would say no. In any case, I am not in a position to extrapolate.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top