Topic: [XSL] Including an external file (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=27025" title="Pages that link to Topic: [XSL] Including an external file (Page 1 of 1)" rel="nofollow" >Topic: [XSL] Including an external file <span class="small">(Page 1 of 1)</span>\

 
u-neek
Bipolar (III) Inmate

From: Berlin, Germany
Insane since: Jan 2001

posted posted 11-19-2005 13:52

Hi!

Is it possible to include a file where its filename is based on a value of a XML-document?

Someting like this:

code:
<xsl:include>
<xsl:attribute name="href"><xsl:value-of select="root/page/layout"/></xsl:attribute>
</xsl:include>




Thanks.

u-neek
Bipolar (III) Inmate

From: Berlin, Germany
Insane since: Jan 2001

posted posted 11-19-2005 14:00

Or call a template based on the value of a XML-Document?

Something like this:

code:
<xsl:call-template>
<xsl:attribute name="name"><xsl:value-of select="root/page/layout"/></xsl:attribute>
</xsl:call-template>

or

<xsl:call-template name="{root/page/layout}"/>



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu