[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: multiple stylesheet for an XML file


Subject: Re: multiple stylesheet for an XML file
From: "Larry Mason" <Larry_Mason@xxxxxx>
Date: Fri, 3 Dec 1999 08:53:24 -0600


I am using a servlet to process XML via XSLT.  With this approach I can either
pass in the stylesheet to use or a parameter to a single styslesheet with has
several internal transformations.  This gives me the one XML to many XSL you
seem to be looking for.
Of course it means server-side only processing but then that lets me cover all
browsers (and network appliances).
Larry





david <david.mas@xxxxxxxxxx> on 12/03/99 08:22:01 AM

Please respond to xsl-list@xxxxxxxxxxxxxxxx

To:   xsl-list@xxxxxxxxxxxxxxxx
cc:    (bcc: Larry Mason/Dallas/US/i2Tech)
Subject:  multiple stylesheet for an XML file



when an XML file is accessed in the internet, the usal way to associate
a stylesheet is the <?xsl-stylesheet ...?> tag.

But what if I want to assiociate more than one stylesheet to the XML
file, depending of the URL. Copying the XML file and changing the link
to the stylesheet is not a satisfying solution...

Isn't it possible to have "fake" XML file with just the <?xsl-stylesheet
...?> tag and a link to the XML data file ?

Or to assiociate the stylesheet dynamicly with an arg passed througth
the URL




 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread
Keywords