excuse me if I'm missing the point but, if the objective is to get <br> 
instead of <br/>, wouldn't it be far easier to use the html output method in 
the xslt script directly, and not use the HTML serializer?


On Friday 12 Apr 2002 7:59, Nicola Ken Barozzi wrote:
> From: "Yuri Gadow" <[EMAIL PROTECTED]>
>
> > > Try with <br name="br"/>
> >
> > If you mean an XSLT using that syntax (otherwise, I guess I'm missing
> > something), I'm afraid that doesn't help.
>
> It's a hack to get Netscape 4 to use that tag.
>
> If I write:
>
>   <html>
>    <body>
>    ciao<br/>
>    ciao</body>
>   </html>
>
> in Netscape 4.7 I get:
>
> ciaociao
>
> but if I write this:
>
>   <html>
>    <body>
>    ciao<br name="br"/>
>    ciao</body>
>   </html>
>
> I get:
>
> ciao
> ciao
>
> I can also write <br whattheheck="myhackytag"/> and it's the same, the
> trick is putting in an attribute.
>
> In this way Netscape 4 can show valid XHTML, which is IMHO better anyways
> than <br>.
>
> Just write a stylesheet that converts adds an attribute to <br/>s and
> copies all other stuff, and you're done.

---------------------------------------------------------------------
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