Subject: [xsl] tag minimisation From: "Andrew Welch" <awelch@xxxxxxxxxxxxxxx> Date: Tue, 10 Sep 2002 16:27:21 +0100 |
When elements like <div></div> get minimised by the processor to <div/> it's *really* frustrating. I cannot stress how annoying it is to find that because you have an element in your data that is empty, you get a minimised ouput element where all following elements 'inherit' the style... For example: <div style="font-weight:bold"/> <div>foo</div> will give you a bold 'foo'. I appreciate that html/css is at fault, but surely its easy to add a minimisation='no' extension until browsers catch up...? That or continue the advice of 'add a space to the end of the element to prevent it getting minimised'... At the moment I can see no real benefit of enforcing minimisation. cheers andrew --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.385 / Virus Database: 217 - Release Date: 04/09/2002 XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] following-sibling, Jarno . Elovirta | Thread | RE: [xsl] tag minimisation, Américo Albuquerque |
RE: [xsl] encoding and XSL Transfor, Michael Kay | Date | [no subject], Ram Cherukuri |
Month |