OK, once again, I am uncertain as to what you want. I assume you mean call one XSLT in another. You can simply import one XSLT into another using xsl:import. Then you can call whatever is referenced in the imported XSLT as it it were part of the current XSLT. Another interpretation is taking the output from XSLT transformation and putting it into another at the sitemap level. If that is the case, you can simply call another map:transform with the other XSLT.

Can you be more clearer and more explict as to what you want to do?

Bhavya Sharma wrote:
Hi Kamal Thanks for replying
acually i want to redirect from one xsl to another

Bhavya

On 8/28/06, *Kamal Bhatt* < [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    Bhavya Sharma wrote:
    > Hi Devs
    > i want to do redirection in xslt ,is there any way to do that ?
    >
    > --
    > With-
    > Thanks and Regards
    >
    > Bhavya Sharma
    What do you mean by redirection in XSLT? Do you want to create
    HTML that
    redirects to another page or do you mean "redirect" the XML to
    another XSLT?

    I use the following code to redirect:

    <xsl:stylesheet version="1.0"
        xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
        xmlns=" http://www.w3.org/1999/xhtml";
        >
    <xsl:param name="url"/>
    <xsl:template match="*">
        <html>
        <head>
            <LINK type="text/plain" href="{$url}"/>
            <META http-equiv="REFRESH" content="1;url={$url}"/>
        </head>
        <body/>
        </html>
    </xsl:template>

    </xsl:stylesheet>

    As you can see, what you pass in doesn't matter, just as long as you
    pass the URL in as a parameter.

    --
    Kamal Bhatt


    ---------------------------------------------------------------------
    To unsubscribe, e-mail: [EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>
    For additional commands, e-mail: [EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>




--
With-
Thanks and Regards

Bhavya Sharma


--
Kamal Bhatt


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to