Christian,
this is a bug; we're about to release a maintenance version with this
fixed (and some other stuff). Alternatively, you can use the CVS version
where the bug is fixed already.
Tom

On Tue, 26 Jun 2001 15:39:56 +0200
Christian Lefebvre <[EMAIL PROTECTED]> wrote:

> Hello I just upgraded from 0.51 to sablotron 0.60 and i've got a problem
>  with html empty tags. The following example outputs <BR/> instead of
> <BR> :
> 
> <?xml version="1.0" encoding="iso-8859-1"?>
> <xsl:stylesheet
>   xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
>   version="1.0">
> <xsl:output method="html" encoding="UTF-8"
>      indent="no" omit-xml-declaration="yes" />
> 
> <xsl:template match="/">
>  <P>before<br />after</P>
> </xsl:template>
> </xsl:stylesheet>
> 
> Now, if i put <html> and </html> around the <P> tag, it work fine. So it
> seems
>  the declared output method is ignored, but the implicit one due to the
> <html>
>  tag works.
> 
> I have a similar problem with a <script language="JavaScript" src="...">
>  where a <script/> is generated instead of a <script></script>
> 
> All of this was ok with 0.51.
> 
> Any idea ?
> 
> -- 
> Christian Lefebvre           T�l : 03 20 60 82 27
> Atos Origin, Activit� Multim�dia
>              http://www.atos-group.com/multimedia
> 

Reply via email to