|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Generating beautiful HTML Source Code
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: 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: 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
|
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
|

Cart








