OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Separating content from presentation



True, but server-side script has had this capability for years. I've seen
case studies on MSDN where a database-driven site was rewritten using SQL
2000 and XSLT, but I haven't seen any compelling reason for scripters to
switch to XSLT.

Maybe it makes sense when small devices need to be used as servers, and they
can run an XML parser and do XSLT transformations, but not run the ASP.NET
engine. I'm a back-end developer and I don't really know where you'd find
such a situation, but if anyone has, I'd love to hear about it.

Otherwise, I'm thinking that resolution of incompatibility problems is the
real application for XSLT.

----- Original Message -----
From: "Kip Hampton" <khampton@totalcinema.com>
To: "Al Snell" <alaric@alaric-snell.com>
Cc: "jwells123" <jwells123@email.msn.com>; <xml-dev@lists.xml.org>
Sent: Wednesday, August 22, 2001 9:24 AM
Subject: Re: Separating content from presentation


> 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;
>
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
>
> The list archives are at http://lists.xml.org/archives/xml-dev/
>
> To subscribe or unsubscribe from this elist use the subscription
> manager: <http://lists.xml.org/ob/adm.pl>
>