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

Re: Separating content from presentation

  • From: Kip Hampton <khampton@t...>
  • To: Al Snell <alaric@a...>
  • Date: Wed, 22 Aug 2001 12:24:27 -0400

separating content from presentation


Al Snell wrote:
> 
> On Mon, 20 Aug 2001, jwells123 wrote:
> 
> > Sorry if this is an old, dead horse on this list, but does anyone see
> > any substance in the supposed "separation of content from
> > presentation" feature of XML?
> 
> This idea comes from the hope that Web servers will send XML with
> references to XSL stylesheets (as in, XSLT that transforms to XSLFO) which
> the browser will use to display the raw data - so that content and
> presentation are seperated "on the wire" to the client, making it easy to
> write clients that ignore the XSL reference and just pull out the raw
> data.

The use and usefulness of separating substance from style extends well
beyond this "gosh we hope the client does the right thing" approach.
Well designed server-side XML tools like AxKit, Cocoon, etc. are able to
take advantage of that separation to apply different transformations (or
chains of transformations) to documents based on the type of client that
is making the connection, URL paramaters/POSTed data/HTTP Cookies/etc. 

-kip
-- 
print join ' ', map { ucfirst($_->getFirstChild->getData)}
XML::LibXML->new()->parse_string(join '', pack "c*", (60, 122, 62, 60,
97, 62, 106, 117, 115, 116, 60, 47, 97, 62, 60, 98, 62, 97, 110, 111,
116, 104, 101, 114, 60, 47, 98, 62, 60, 99, 62, 112, 101, 114, 108, 60,
47, 99, 62, 60, 100, 62, 88, 77, 76, 60, 47, 100, 62, 60, 101, 62, 104,
97, 99, 107, 101, 114, 60, 47, 101, 62, 60, 47, 122,
62))->findnodes('//*[name() != "z"]')->get_nodelist;

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.