[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: HTML <script> tag
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|