This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

How to dinamically include parts of XSL ?


Hello,    
I'm new to the list.    
Do you think it's possible to include different sections of XSL files,
so to have different presentation for the same XML file to choose 
during the navigation ?    

I have this example:

-----------------------------   
<?xml version="1.0" encoding="UTF-8"?>   
<xsl:stylesheet version="1.0" 
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

      <xsl:import href="Presentation1.xsl"/>
      <xsl:import href="Presentation2.xsl"/>

</xsl:stylesheet>
-----------------------------

I have to choose between "Presentation1.xsl" or 
"Presentation2.xsl".  
I thought to embed some JavaScript in the XSL file so to solve the
problem in the transformed HTML file, but it will result a very big
file with a lot of unuseful stuff.

Any ideas ? 

What about the Apache server ?  
Can I change "on the fly" the XSL file to include ? 

Thank You very much!  
Sorry for my bad english.  

Paolo  



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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]