xsl-list
[Top] [All Lists]

[xsl] html tags not closing

2007-06-06 10:59:48
Hi guys:

I'm getting an error i've never had before, when I open a create an element img, it never get close in the ouput:

<xsl:template match="draw:image" mode="auto">
  <xsl:element name="img">
     <xsl:attribute name="src">
       <xsl:value-of select="(@xlink:href)"/>
</xsl:attribute> </xsl:element>
 </xsl:template>

So when I tried to manipulate the output, the saxon parser yells at me for not having the tag <img> closed. Same thing happens with this:

<div id="page">
<div id="dots" align="left" style="overflow: visible; background-color: rgb(255, 255, 255);">
     <div id="preview" style="position:">
     <p><br/></p>
    </div>
<div style="height:828px;width:0px;border:0px;border-style:solid;"></div>
    </div>
</div>


It doesn't like that <br> tag, it says expected </br> error.

Any ideas? Maybe the output it's not correct or the html I'm producing? I'm not including anything extra like language settings or anything in the html I'm producing, just plain <html>

Thanks.

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--