Subject: Re: [xsl] get the current xml file name From: David Carlisle <davidc@xxxxxxxxx> Date: Tue, 8 Aug 2006 16:09:14 +0100 |
The scenario I was interested in is where you follow a link to an XML file that contains a stylesheet-pi and the transform performed in the browser depends on the URL so that you can have more than one view of the same content. The URL of the XML is well defined here, but as far as I can tell, inaccessible to the transform the browser is running. what I believe you can do is make the stylesheet referenced by the pi generate an html document that calls xslt from script after accessing the document location and other details using javascript javascript should have access to the original xml dom and can fetch the "real" stylesheet to do your actual transformation by http. David
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] get the current xml file , andrew welch | Thread | Re: [xsl] get the current xml file , Abel Online |
Re: [xsl] get the current xml file , andrew welch | Date | Re: [xsl] xsl:sequence, tom tom |
Month |