Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Kate 267 posts 610 karma points
    Aug 05, 2013 @ 20:56
    Kate
    0

    reference to an XSLT from another XSLT file

    It is possible to make a reference from an xslt file to another?
    I have a xslt file
    containing the following code

    <xsl:template match="Sektion2" mode="output">
    Indhold til side 3
    <section id="{@urlName}">
    <header>
    <h1><xsl:value-of select="@nodeName" /></h1>
    </header>
    <div class="text">
    <xsl:value-of select="bodyText" disable-output-escaping="yes" />&#160;
    </div>
    </section>
    </xsl:template>

    I have 4 more of these with diffrent content.

    Each template contains various html and I would therefore like to make a xslt file for each section to make it more manageable.
    Is that possible?

     


  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies