I beleive that in order for it to work the way you want,
It needs to be supported by Thumbgen....


<?xml version="1.0" encoding="UTF-8"?>
<!--
JHS Common Sheet Scripts [Full Screen (1280x720)]
Dynamic XLST component
Created by: JHSpyHard
-->
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:msxsl="urn:schemas-microsoft-com:xslt"
xmlns:myjs="urn:custom-javascript"
exclude-result-prefixes="msxsl myjs">
<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
<msxsl:script implements-prefix="myjs" language="CSharp">
<!-- Other Assembly Imports -->
<msxsl:assembly name="System.Windows.Forms" />
<msxsl:assembly name="mscorlib" />
<![CDATA[
/**
* debugOutput() pops up a MessageBox during runtime/compilation time, displaying the string
* that is passed in as a parameter. The method name from which debugOuput() was called is
* displayed as the title of the pop-up which is appended with the code line number from where debugOutput
* was called.
* @param output - The string to be printed to the screen.
*/
public void debugOutput(string output)
{
// Get Diagnostic Objects
System.Diagnostics.StackFrame stackFrame = new System.Diagnostics.StackFrame(1,true);
// Get Calling Method Name
string methodName = stackFrame.GetMethod().Name;
// Get debugOutput's Calling Line Number.
string lineNumber = stackFrame.GetFileLineNumber().ToString();
// Attach Line numbers to the end of the method name and return the output.
System.Windows.Forms.MessageBox.Show(output,methodName+"(): ln "+lineNumber);
}
]]>
</msxsl:script>
</xsl:stylesheet>








string[] _values = input.Split('/');string[] _values = input.Split(',');

Users browsing this forum: No registered users and 0 guests