[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Proper way to use XSL for HTML output?

Subject: Re: Proper way to use XSL for HTML output?
From: Dylan Parker <dylan@xxxxxxxxxxxxx>
Date: Mon, 5 Feb 2001 09:18:08 -0800
proper way of typing
Kevin,

Are you in ALL the same mailing lists as me? =) Orion, XSLT, ?? ...

Anyway.. back to your question...

[Linear Stylesheet Example Culled]

> If I want to add more in between the <body></body>, I just do it right down
> the list, as if I was doing normal HTML. I originally tried the "template"
> format, where you call various templates in the main template, then define
> each of those templates at the bottom of the page. I don't know which way is
> best though. The way I am doing it now seems more like how HTML is usually
> done (manually anyways). Is there a proper way, a "standard" way, or just do
> it how I want as long as it works?

For me the linear approach works for the large part of the html file..
but templates DEFINITELY come in handy... I use them for code to
handle form elements... navigation bars... copyright info... repeated
elements on the page..

What I do as well is put all of the reusable elements in separate XSL
files and then xsl:import them within the xsl files that they are
used.

This approach makes updating navigational items very easy as well as
removing a lot of re-typing.

Hope this helps.

Dylan



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.