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

RE: Can you apply a template match on a copy node?

Subject: RE: Can you apply a template match on a copy node?
From: "Robert Koberg" <rob@xxxxxxxxxx>
Date: Sun, 22 Sep 2002 16:13:24 -0700
RE:  Can you apply a template match on a copy node?
Hi,

> Mike Carlisle wrote:
> > Hi Joerg,
> >
> > I'm just experimenting with ways of using xml/xsl. Sure I could use css, but
> > I prefer keeping things clean and maintainable from one file. I'm a great
> > believer in a clear seperation between data and layout, and the simplier I
> > can find ways to control the styling the better, which is why I was hoping
> > to do away with css altogether and use xsl templates for everything.
> >
> > I'm using a server-side asp transform for the processing, so any use of
> > xsl/xml needs to be very efficient to compete with a pure asp scripted
> > solution.
> >
> > Mike
>>

The best (clean, maintainable, simple) separation you could acheive would be by
using CSS after making a simple html structure by transforming your XML with
XSLT. Why do you feel this is wrong?

XML     HTML
 + --->  +
XSL     CSS

You can get close to one HTML structure and make completely different looks with
CSS.

Using CSS will also allow you to move much of your server side processing to the
client, which means faster server-side processing.

I do not understand why you would want to avoid CSS. Everything you mention
above would indicate that you should use CSS.

best,
-Rob



 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.