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 ?
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.
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
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
Great it works ! thanks
is working on a reply...