Subject: Re: [xsl] Generating beautiful HTML Source Code From: "M. David Peterson" <conners_dad@xxxxxxx> Date: Wed, 15 Oct 2003 14:42:58 -0700 |
put this right after your stylesheet declaration in your xslt file... <xsl:output method = "html" indent = "yes" /> Best regards, M. ----- Original Message ----- From: "Karl J. Stubsjoen" <karl@xxxxxxxxxxxxx> To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> Sent: Wednesday, October 15, 2003 10:12 AM Subject: Re: [xsl] Generating beautiful HTML Source Code > I should explain: > I use the ASP and MSXML 4.0 Parser to generate web pages on an Windows IIS > platform. I'm refering to the generated HTML pages (their source code). > Any *beautification* should be handled by the parser, no manual process > (like Tidy) will occur. This is where I am having troubles. > > - tidy does work good though, i use it a lot! > > Karl > > > ----- Original Message ----- > From: "Jim Nachlin" <jnachlin@xxxxxxxxxxx> > To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> > Sent: Wednesday, October 15, 2003 8:34 AM > Subject: Re: [xsl] Generating beautiful HTML Source Code > > > > Tidy is a great tool: > > > > http://www.w3.org/People/Raggett/tidy/ > > > > On Wed, 15 Oct 2003, Karl J. Stubsjoen wrote: > > > > > Hello, > > > > > > I'd be interested in any reference (websites - faq...) you might be > > > able > to > > > point me to regarding Whitespace. Call me anal, but I'm very > > > interested > in > > > generating very attractive HTML source code results, you know - line > breaks, > > > tabs, comments, etc... > > > > > > Currently, my HTML source code is a random "SPLAT" of code.... and > > > where > I > > > have attempted to add a linebreak with and/or it is > > > usually > > > unsuccseful, as well, it seems my preserve-space elements are ignored. > I > > > only seem to be able to get a line break when I do: > > > > > > <xsl:text> > > > > > > <xsl:text> > > > > > > Any tips on generating beautiful HTML Source code would be heavenly! > > > > > > Karl > > > > > > > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > > > > > > > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > > > > > > > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Generating beautiful HTML, Karl J. Stubsjoen | Thread | Re: [xsl] Generating beautiful HTML, Wendell Piez |
SV: [xsl] Make Hirachy from flat fi, Thomas V. Nielsen | Date | RE: [xsl] Make Hirachy from flat fi, Americo Albuquerque |
Month |