Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 2 of 2

Thread: XSLT Includes & Debugging

  1. #1
    AspDotNetStorefront Staff - Lindsay is offline Junior Member
    Join Date
    Jun 2012
    Location
    Ashland, OR
    Posts
    7

    Default XSLT Includes & Debugging

    I've run into this several times in the past:

    Code:
    <xsl:import href="reusable.xslt" />
    When creating XSLT files and importing, debug="true" gets various errors, like:
    System.IO.FileNotFoundException: Could not find file 'E:\sites\mysite\Web\images\reusable.xslt'.
    I still need to see the XML that's being transformed, so I know that my queries are working and to reference node names for XPATH.

    So instead of grumbling about having to go check the images folder for the debug files - here's a much quicker solution:

    Your very own debug window:

    Code:
    <textarea cols="80" rows="50">
          <xsl:copy-of select="/" />
    </textarea>

  2. #2
    BFG 9000 is offline Senior Member
    Join Date
    Oct 2006
    Location
    South UK
    Posts
    882

    Default

    Really nice - Thanks Lindsay.


    TTFN

    BFG