Calling the external XSL script from the main XSL script

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Legolas
    New Member
    • Jun 2007
    • 1

    Calling the external XSL script from the main XSL script

    Hi,

    I have the following problem:


    Here is the fragment of the script:
    <xsl:template match="some-template">
    <xsl:variable name="xslScript ">...</xsl:variable>
    <xsl:variable name="xmlFile"> ...</xsl:variable>
    <xsl:variable name="startMode ">...</xsl:variable>

    ... Here I need to call stylesheet $xslScript for $xmlFile file in mode $startMode to retrive some node set...
    </xsl:template>


    How can it be implemented using the Microsoft XSL transformer?
  • Dököll
    Recognized Expert Top Contributor
    • Nov 2006
    • 2379

    #2
    Originally posted by Legolas
    Hi,

    I have the following problem:


    Here is the fragment of the script:
    Code:
    [I]<xsl:template match="some-template">
      <xsl:variable name="xslScript">...</xsl:variable>
      <xsl:variable name="xmlFile">...</xsl:variable>
      <xsl:variable name="startMode">...</xsl:variable>
    
     [B] ... Here I need to call stylesheet $xslScript for $xmlFile file in mode $startMode to retrive some node set...[/B]
    </xsl:template>[/I]
    How can it be implemented using the Microsoft XSL transformer?
    Greetings, Legolas!

    I have found the below very helpful, care to give it a go!

    http://www.w3schools.c om/xsl/
    Last edited by Dököll; Jun 26 '07, 02:12 AM. Reason: Code Tags

    Comment

    Working...