You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Dmitri Ilyin <dm...@memiq.com> on 2001/05/31 10:59:28 UTC

html output???

Hi *,
 
I have a question about html output formating. 
 
For example in my xsl file I have a piece of xml like this:
 
<td bgcolor="black" width="104">
    <img height="1" width"1" src="pix/empty.gif"/>
</td>
 
It will be outputted in html like this:
 
<td bgcolor="black" width="104"><img height="1" width"1"
src="pix/empty.gif"/></td>
 
So all in one row.
 
Otherwise
 
<table>
    <tr>
        <td>
            .....
 
will be outputted like
 
<table>
<tr>
<td>
....
All in separeted rows.
 
I couldn't recognize any rules for this behavour. 
 
The output method I used is:
 
<xsl:output method="html" version="1.0" encoding="UTF-8"/>
 
 
The formating is rather important for me, because I use some tricks hier. 
 
So, how can I control the formating behavior??? And are there any rules how
xalan makes this????
 
thanks
 
regards
 
Dmitri