
Hi,
I wonder can I hide DOCTYPE instruction in an xhtml document?
More details:
We have our own temporary DTD that includes HTML entities.
If we duplicate DTD rules in XSD schema it works fine for intelli sence and validation.
But we cannot include HTML entity definitions into the XSD (it's impossible as I know, but I can be wrong).
The main goal is to hide our own temporary DTD from user's eyes.
If we just remove the DOCTYPE instruction from a document HTML the entities become invalid for validator.
The question is:
Can we hide DOCTYPE instruction from a document and remain HTML entities valid for the XML validator?
Thank you.