XML allows for external entities; what about XHTML?

Posted by xtofl on Stack Overflow See other posts from Stack Overflow or by xtofl
Published on 2010-05-04T12:56:06Z Indexed on 2010/05/04 12:58 UTC
Read the original article Hit count: 169

Filed under:
|
|

This question about web page 'inclusion' triggered my curiosity. The XML allows you to specify a reference to an 'external' portion. Can you do the same in XHTML, then?

XML example:

<!ENTITY foo SYSTEM "http://www.mydomain.com/logo.gif" NDATA GIF87A>
...
<SOMETHING>&foo;</SOMETHING>

© Stack Overflow or respective owner

Related posts about Xml

Related posts about XHTML