xml - how can i include style sheet? -


i want use stylesheet dynamically.but still getting error. can me please..

<?xml version="1.0" encoding="iso-8859-1" ?> ......      <xsl:param name="temp"/>     <xsl:choose>             <xsl:when test="temp=true">                 <include href="library.xsl"/>               </xsl:when>              <xsl:otherwise>                 <include href="c:\users\..\desktop\library.xsl"/>             </xsl:otherwise>          </xsl:choose> <xsl:template match="/catalog"> .... 

you can't that, includes , imports resolved statically (typically @ point processor compiles stylesheet internal representation). the spec says:

the xsl:include element allowed top-level element

i.e. has directly inside xsl:stylesheet, can't nested inside else.


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -