xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon <simonjga...@yahoo.com>
Subject RE: <br> and </br> tags
Date Mon, 11 Jun 2001 15:01:40 GMT
Use the attribute version="4.0" in the xsl:output
instruction along side the html output type - setting
the output type to html on its own will not conquer
your problem - I assume this is a Netscape
incompatability issue.

.s


--- Britta_Schüle <britta.schuele@ixos.de> wrote: >
oops, forgot to include the files - sorry! and as
> was pointed out repeatedly
> - we do actually set output method to html ...
> weird.
> 
> -----Original Message-----
> From: Britta Schüle [mailto:britta.schuele@ixos.de]
> Sent: Monday, June 11, 2001 3:36 PM
> To: 'general@xml.apache.org'
> Subject: RE: <br> and </br> tags
> 
> 
> hiya,
> thanks for the feedback so far, but i think i
> haven't quite said clearly
> enough what's happening ; (
> we're using the sax parser to parse documents.
> according to the w3c
> recommendations,
> "The html output method should not output an end-tag
> for empty elements. For
> HTML 4.0, the empty elements are area, base,
> basefont, br, col, frame, hr,
> img, input, isindex, link, meta and param. For
> example, an element written
> as <br/> or <br></br> in the stylesheet should be
> output as <br>."
> BUT, no matter what we try, the parser always seems
> to insert a <br /> when
> it finds a <br> in the xsl.
> i enclosed the xml, xsl and the rendered html files
> as examples.
> thanks, britta
> 
> -----Original Message-----
> From: Britta Schüle [mailto:britta.schuele@ixos.de]
> Sent: Monday, June 11, 2001 12:28 PM
> To: general@xml.apache.org
> Subject: <br> and </br> tags
> 
> 
> hi folks,
> we seem to have a problem with our xml's: no matter
> what we do, the parser
> always inserts a </br> when encountering a <br>. the
> real problem is that
> netscape doesn't understand the closing tag and then
> simply omits it, so
> that the output looks, to put it that way, shite.
> now my question: has anyone had that problem before
> and managed to solve it?
> or could it possibly be a known or unknown problem
> with the parser?
> cheers, britta 
> 
> 
> 
>
---------------------------------------------------------------------
> In case of troubles, e-mail:    
> webmaster@xml.apache.org
> To unsubscribe, e-mail:         
> general-unsubscribe@xml.apache.org
> For additional commands, e-mail:
> general-help@xml.apache.org
> 
>
---------------------------------------------------------------------
> In case of troubles, e-mail:    
> webmaster@xml.apache.org
> To unsubscribe, e-mail:         
> general-unsubscribe@xml.apache.org
> For additional commands, e-mail:
> general-help@xml.apache.org
> 
> 

> ATTACHMENT part 2 application/octet-stream
name=note-1.xml

<HR>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<html><body BGCOLOR="#FFFF99" TEXT="#000000"><H1>XSL
For Notes - Version 1</H1><table WIDTH="500"
border="2"><tr>
    ABC
    <br/>
    DEF
    <br/>
    GHI
    <br/></tr></table></body></html>

> ATTACHMENT part 4 application/octet-stream
name=note-11.xsl
>
---------------------------------------------------------------------
> In case of troubles, e-mail:    
> webmaster@xml.apache.org
> To unsubscribe, e-mail:         
> general-unsubscribe@xml.apache.org
> For additional commands, e-mail:
general-help@xml.apache.org


____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie

---------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org


Mime
View raw message