> I've always had problems with 'tag minimisation' and html, such as:
>
> <div style="padding-left:5em">
> <xsl:value-of select="something"/>
> </div>
> <div>I dont want to be indented</div>
>
> If something is empty the first div becomes <div/> which html
> doesn't recognise as a closed element, so all following
> elements get the style...
>
If you use xsl:output method="html", then you should never see <div/> in
the output, always <div></div>.
Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|