xsl-list
[Top] [All Lists]

RE: One XML to MANY XSL's??

2003-12-18 09:27:10
Although you haven't said as much, it seems that you are embedding a reference 
to the stylesheet in the XML file and depend on the user's browser (most likely 
IE 5.5 or later) to do the transformation for you. You would be better served 
by moving the transformation to the server. Have the links point to a 
server-side process that does the transformation and returns the HTML output to 
the browser. Your links could contain a query string with a code that your 
server-side process could decode into the URL of the XSLT stylesheet to use.
-- 
Charles Knell
cknell(_at_)onebox(_dot_)com - email



-----Original Message-----
From:     Jiles, Everett <Everett(_dot_)Jiles(_at_)sdcounty(_dot_)ca(_dot_)gov>
Sent:     Thu, 18 Dec 2003 08:07:53 -0800
To:       <XSL-List(_at_)lists(_dot_)mulberrytech(_dot_)com>
Subject:  [xsl] One XML to MANY XSL's??

  Hi,, I have an XML file that gets rewritten every 5 min. it's attached to an 
xsl that displays all the data. I have links on that page that would give the 
viewer only parts of the data depending on what link they click on. Right now I 
have to make many copies of the XML and rename them to point to their 
corresponding XSL page.... I would rather just be able to call the XSL pages 
and apply the one xml to it,,   thanks

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




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



<Prev in Thread] Current Thread [Next in Thread>