Copied to clipboard

Flag this post as spam?

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


  • fabrice 104 posts 227 karma points
    Sep 08, 2010 @ 11:56
    fabrice
    0

    xsl:import and Visualize XSLT

    Hello,

    I'm using Umbraco 4.5.1

    When I use <xsl:import href="myFile.xslt" /> inside another xslt file, I cannot use the "Visualize XSLT" function anymore.

    I have the following message :

    Error parsing the XSLT:

    System.Xml.Xsl.XslLoadException: XSLT compile error. An error occurred at (58,18). ---> System.IO.FileNotFoundException: Could not find file 'c:\windows\system32\inetsrv\myFile.xslt'.

     

    Could you please tell me how to use xsl:import and the Visualize XSLT function ?

    Many Thanks

    Fabrice

     

  • Chriztian Steinmeier 2800 posts 8790 karma points MVP 8x admin c-trib
    Sep 08, 2010 @ 12:03
    Chriztian Steinmeier
    0

    Hi Fabrice,

    This is due to the way the XSLT gets loaded in the Visualizer - remember that you can select a piece of XSLT and visualize that by itself, so there's quite a little magic going on there.

    If you specify the complete physical path to the imported XSLT file it will work, though.

    /Chriztian

  • fabrice 104 posts 227 karma points
    Sep 08, 2010 @ 12:08
    fabrice
    0

    Great it works ! thanks

Please Sign in or register to post replies

Write your reply to:

Draft