If you put the XHTML namespace inside the <html> tag, the XSL 
transformer will output XHTML for you:

<html xmlns="http://www.w3.org/1999/xhtml";>

The HTML serializer will leave your <br/>'s intact as long as the
namespace is provided.

Regards
Arjé


---------------------------------------------------------
Content Management Department
Hippo Webworks
Grasweg 35
1031 HW Amsterdam
The Netherlands
Tel  +31 (0)20 6345173 
Fax +31 (0)20 6345179
arje(at)hippo(dot)nl / www.hippo.nl



-----Oorspronkelijk bericht-----
Van: Istvan Beszteri [mailto:[EMAIL PROTECTED]]
Verzonden: 04 June 2002 17:05
Aan: [EMAIL PROTECTED]
Onderwerp: XHTML


Hi All,

What is the easiest way to generate XHTML output?
I have an XSL which transforms XML to XHTML, but it seems the serializer 
converts it to simple HTML. (I have some <br/> tags and it convert them to 
<br>)

Br,
        Istvan

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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

Reply via email to