Subject: RE: [xsl] HTML <script> tag From: "Andrew Welch" <awelch@xxxxxxxxxxxxxxx> Date: Thu, 29 Aug 2002 08:55:24 +0100 |
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... The same goes for <span>, <a>, <td> etc. The only way to stop the minimisation is a liberal use of #160's, or whatever meets your output encoding ;) Of course, a nice feature to a processor would be a switch to stop it turning: <foo><foo> into <foo/> something like <exsl:output minimisation="no"/>, at least until html becomes xhtml... cheers andrew --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.381 / Virus Database: 214 - Release Date: 02/08/2002 XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] HTML <script> tag, David Carlisle | Thread | Re: [xsl] HTML <script> tag, Mike Brown |
RE: [xsl] question about xsl:if, Jarno . Elovirta | Date | [xsl] node sibling, Alia Mikati |
Month |