how do i use debug xslt in microsoft visual studio?

how do i use debug xslt in microsoft visual studio?
jgordinAsked:
Who is Participating?
 
Geert BormansInformation ArchitectCommented:
Are you running through your XSL in a stand alone mode,
or do you have a C# program that runs an XSL transform
and you want to break inside the XSL whilst you are running the C#

The latter is possible I believe if you add something to the C# code.
Check the above reference for help on that

If you post the XML and XSL and put a comment where you want to break, I can check if it is a valid breakpoint
Also node that breaking XSLT is tricky. According to the debugger, so locations can't have a breakpoint
(end tags are obvious, result tree fragments are another obvious example since they are literal strings (sort of))

cheers

Geert
0
 
Geert BormansInformation ArchitectCommented:
you need at least the professional edition
http://msdn2.microsoft.com/en-us/library/ms255605(VS.80).aspx

alternatives I like better are
- www.oxygenxml.com
- www.stylusstudio.com

cheers

Geert
0
 
jgordinAuthor Commented:
i selected a breakpoing in xsl file and hit debug xsql button on the XML Editor toolbar but nothing happens. do you know what is going on?
0
Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

 
Geert BormansInformation ArchitectCommented:
there is a chance that the processing simply doesn't hit the breakpoint
0
 
jgordinAuthor Commented:
it shoud be hitting the breakpoint because i see file being generated (output).
0
 
Geert BormansInformation ArchitectCommented:
well,
XSLT doesn't run sequentially through the code,
so the file would be generated, even if only the top template is active
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.