Sorry, you're quite right about namespaces. I've had DTDs on the brain today :~)

[EMAIL PROTECTED] wrote:

Antony Quinn wrote:

Gary,

It sounds like a namespace problem.

Take a look at your HTML - if there's a DTD declaration you'll need to declare this is a namespace in your XSL file and prefix any HTML elements accordingly, eg:

No. DTD and namespace are separate things.
Just only check if HTML given has a namespace. And if there is none you don't have to add one, regardless which DTD. If HTML had a namespace it should be mentioned in the starting tag of its root element like
<html xmlns=""> ... </html>
Normally (non-X)HTML doesn't allow for a namespace attribute.

--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to