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

Re: efficient filtering of XML files. ( XML!=content && XSL

Subject: Re: efficient filtering of XML files. ( XML!=content && XSLT!=presentation )?
From: Dan Morrison <dman@xxxxxxxx>
Date: Tue, 04 Apr 2000 17:31:18 +1200
filtering xml content
Mike Brown wrote:
> 
> I've seen people make the mistake of thinking XML=content while
> XSLT=presentation, and therefore they are not allowing any presentational
> data to 'contaminate' their XML. They generate or hand-code many XSLT
> documents with very slight variations in order to produce many slightly
> different kinds of output, often custom-fitted to act on a specific piece
> of XML. This approach misses the point of XSLT. I hope that's not what
> he's doing.

Personally I've been a stickler for Content & Presentation being
abstracted from each other as much as possible, and generally add
Logic/Navigation as a third independant entity.

While I agree that hand-coding tiny variations is bad, I've been
achieving results using XSL layout 'libraries' and xsl:include, so only
the unique bits end up in a new file.

But how does this miss the point? As I see it, the alternative is to
'contaminate' the XSL with lots of conditionals. Now that's messy. (
It's how I started :-) )

Nahraharis "100 times" seems to require a re-think tho, If I understand
this means 100 unique XSLs!

Does anyone have pointers on the genuine design patterns of using XSLT? 
So far there's a couple of dozen HOWTOs, but a poor selection of WHENTOs
and only some abstract WHYTOs.
We know that XML+XSL=Presentation of Data, we know that
XML+XSL[2]=Alternative Presentation of Data. Has anyone got a resource
on the thinking behind how to glue this together?

This is EXACTLY what I'm working on now, and would love to find some
prior art...

.dan.

:=====================:====================:
: Dan Morrison        : The Web Limited    :
:  http://here.is/dan :  http://web.co.nz  :
:  dman@xxxxxxxx      :  danm@xxxxxxxxx    :
:  04 384 1472        :  04 495 8250       :
:  021 115 7339       :                    :
:.....................:....................:
: If ignorance is bliss, why aren't more people happy?
:.........................................:


 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.