T
Tjerk Wolterink
Why o Why does a browser treat this xml file as an xhtml file.
<!DOCTYPE xc:content [
<!ENTITY % xhtml PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
%xhtml;
]>
<xc:xcontent xmlns:xc="http://www.wolterinkwebdesign.com/xml/xcontent" xmlns="http://www.w3.org/1999/xhtml" module="news">
<xc:nieuwsbericht>
<xc:id>1</xc:id>
<xc:title type="string"><![CDATA[Rob H slaat busruit kapot]]></xc:title>
<xc:date type="date"><![CDATA[2004-01-26]]></xc:date>
<xc
laatje type="img"> <xc:empty/></xc
laatje>
<xc:content type="html">
<p>Het kan ook neit naders, robh slaat de<em> busruit ui de</em> gelersch taxi, kerls wat is die kerls <strong>stark</strong> <img src="/xcm_v1.0/js/fck_editor/editor/images/smiley/msn/wink_smile.gif" border="0" alt=""/></p>
</xc:content>
</xc:nieuwsbericht>
</xc:xcontent>
I think i know why, because i included xhtml entities.
But i think the browser shoudl not show this as xhtml. Why does it do that!!?1
<!DOCTYPE xc:content [
<!ENTITY % xhtml PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
%xhtml;
]>
<xc:xcontent xmlns:xc="http://www.wolterinkwebdesign.com/xml/xcontent" xmlns="http://www.w3.org/1999/xhtml" module="news">
<xc:nieuwsbericht>
<xc:id>1</xc:id>
<xc:title type="string"><![CDATA[Rob H slaat busruit kapot]]></xc:title>
<xc:date type="date"><![CDATA[2004-01-26]]></xc:date>
<xc
<xc:content type="html">
<p>Het kan ook neit naders, robh slaat de<em> busruit ui de</em> gelersch taxi, kerls wat is die kerls <strong>stark</strong> <img src="/xcm_v1.0/js/fck_editor/editor/images/smiley/msn/wink_smile.gif" border="0" alt=""/></p>
</xc:content>
</xc:nieuwsbericht>
</xc:xcontent>
I think i know why, because i included xhtml entities.
But i think the browser shoudl not show this as xhtml. Why does it do that!!?1