XSLT is DA BOMB.
The reason you put your data in XML first is so that it can serve
as a sort of hub. It's probably just as time consuming to convert your
data from its native format to XML as it is to convert it directly
to HTML. But, if you're going to multiple formats, it's easier to
write code to convert it to XML (especially with an API like SAX),
and then use XSL to port it to HTML and WML, etc.
Plus, it's a lot easier to create and maintain XSLT documents than it
is custom code. And I mean A LOT easier, especially if you're doing
a lot of different kinds of transformations.
Additionally, it makes sense just to have your data in XML so that
it doesn't become legacyware. Because it's just a text file, you can
put it anywhere. You can work with it programmatically through an API.
You can open it up in a web browser or an XML editor or a regular
old text editor. You can transform it just about any format very
easily with XSL. You can embed it in other XML documents (or vice
versa). And when the technology catches up to the standards,
you'll be able to do all kinds of advanced searching and linking.
Patrick
> -----Original Message-----
> From: Louis Zezeran [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 08, 2001 6:27 AM
> To: Fusebox
> Subject: XSLT with Fusebox and JSP and whatever else
>
>
> Our lecturer has been teaching us about XSLT combined with XML and it
> looks very helpful for defining multiple content types (ie HTML, WML,
> cHTML etc etc) however the data must be put into XML first. I have been
> thinking up some ideas and I am about to put pen to paper (or fingers to
> keys) on how else to accomplish the task of multiple content types with
> Fusebox without having to go through XSLT. My main problems with XSLT
> are
>
> 1) Speed, it's got to be parsed exra times, but that's not my main
> concern.
> 2) If the data wasn't in XML before hand, why convert it into XML just
> so it can be converted back into something else.
>
> If the data is already in XML then I can see how it could be very
> useful.
>
> Has anyone use XSLT with or fusebox already? Your input would be
> appreciated, cheers people!
>
> Louis
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists