Friday, 18 July 2014

XSL: import two files with the same template



i have two imports: header and datepicker Header and datepicker files has:


<xsl:template match="/">


In main file i have:



<xsl:import href="incHeader.xsl"/>
<xsl:import href="incDatapicker.xsl"/>


and loading:


<xsl:apply-imports/>


Is there are any ways to make no changes in header template properties, only in datepicker with mode, or name and in main file with no changing loading code?


P.S. If i put code like this, it loads only incDatepicker.xsl file. if i put name or mode only on one file, it doesn't load.


No comments:

Post a Comment