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

RE: Application Design

  • From: Leigh Dodds <ldodds@i...>
  • To: "Al B. Snell" <alaric@a...>
  • Date: Tue, 14 Aug 2001 09:57:16 +0100

RE: Application Design

> -----Original Message-----
> From: Al B. Snell [mailto:alaric@a...]
> Sent: 14 August 2001 09:49
> To: Leigh Dodds
> Cc: The Deviants
> Subject: RE: Application Design
> 
> 
> On Mon, 13 Aug 2001, Leigh Dodds wrote:
> 
> > However my main point is that there's nothing implicit in the use
> > of XSLT that requires the a push (i.e. we must know the exact
> > input document configuration in advance) versus a pull (i.e. let
> > the designer request what they need) architecture. These are
> > separate issues.
> 
> I've not yet looked at XSP, but the thing in XPath that seems to imply a
> push architecture to me is that it's a transformation from an input
> document to an output document.

Take a look at [1]. Eric van der Vlist introduces very clean way to 
partition a stylesheet from its presentation.

Now if you process the presentational XML document, and then 
generate the input document to your stylesheet according to the data 
requirements in the presentation

(i.e. pick out those <user/>, <shopping-cart/>, etc tags and 
generate the appropriate XML). 

Then your stylesheet just formats that provided data.

You can generate the input document using whatever technique 
you like (SAX filter pipeline for example), and you've kept complexity 
out of the stylesheet. Indeed there never has to be an input XML 
'document' at all: just the appropriate SAX events.

[1]. http://www.xml.com/pub/a/2000/07/26/xslt/xsltstyle.html

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
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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.