cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antony Quinn <aqu...@ebi.ac.uk>
Subject Re: matching html elements in transformation
Date Tue, 24 Aug 2004 21:26:16 GMT
Sorry, you're quite right about namespaces. I've had DTDs on the brain 
today :~)

Volkm@r 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: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message