It does now! After a restart of my PC it began to work. Cheers. Linc > -----Original Message----- > From: Lincoln Mitchell [mailto:[EMAIL PROTECTED] > Sent: Friday, 17 August 2007 4:28 AM > To: [email protected] > Subject: RE: output indent yes? > > Good points. However,I installed the Firefox extension but it didn't > indent > the code. > Linc > > > -----Original Message----- > > From: Tobia Conforto [mailto:[EMAIL PROTECTED] > > Sent: Thursday, 16 August 2007 9:00 PM > > To: [email protected] > > Subject: Re: output indent yes? > > > > Lincoln Mitchell wrote: > > > but doesn't indent my html in the xsl file > > > > <indent>yes</indent> does not actually indent the code, it just adds > > newlines here and there. > > > > I personally prefer to leave all output unindented (one long line) and > > just *view* it indented when I want to. This way I don't need to worry > > about newlines being inserted where they shouldn't, possibly causing > > strange layout problems. > > > > Here is the way I do it, in case you find it useful. I have configured > > my browser (Opera) to open my text editor (Vim) whenever I choose "view > > source". Then I have configured Vim so that by typing a shortcut the > > whole file being displayed is passed through xmllint, a tool that can > > re-indent XML. The Vim config is: map <M-f> :%!xmllint --format -<CR> > > This has the benefit of alerting me of strange errors, as xmllint is > > very strict about XML syntax. > > > > Another way is to use this Firefox extension: > > https://addons.mozilla.org/en-US/firefox/addon/697 > > > > > > HTH > > Tobia > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
