Subject: Re: transforming links for different streams
From: Duane Nickull <webmaster@xxxxxxxxxxxxxxxxx>
Date: Fri, 02 Apr 1999 09:06:16 -0800
|
Richard Lander wrote:
>
> Hello,
>
> For the next while, content providers are likely to be publishing XML and
> HTML documents. As we all know, the best method is to author in XML then
> publish to XML and HTML. If a content provider is authoring several XML
> documents that make up a site and wishes to link between them, then how does
> the linking work? This provider will want xml docs to link to xml docs and
> the same with HTML but with html docs. Is there a way of transforming docs
> with XSL to force the extensions of the values of links?
>
Richard:
I would do this by writing a script into your xsl document that read the
clients browser type and provided a filename extension for the link
based on whether or not they have an XML cabaple browser.
This is relatively straightforward and simple.
Duane Nickull
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|