Hello Scott, "not knowing much of XML" is put very mildly
XAlbum05 - regret I can't get it working.
After I copied the file export.xml into the XAlbum05-directory I started "XAlbum.htm"
I keyed in export.xml and clicked on Transform, nothing at all happened.
Tried this a few times.
I got back to MC and into your MC XML Export plug-in. I noticed XSL Transformation Option.
In the box I entered f:\temp\export.xml
Save output as "Test"
This resulted in an error:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.Xml.Xsl.XsltCompileException: file:///f:/temp/export.xml(2,2) :
---> System.Xml.Xsl.XsltException: Missing mandatory attribute 'version'.
at System.Xml.Xsl.ContainerAction.CompileSingleTemplate(Compiler compiler)
at System.Xml.Xsl.ContainerAction.CompileDocument(Compiler compiler, Boolean inInclude)
at System.Xml.Xsl.RootAction.Compile(Compiler compiler)
at System.Xml.Xsl.Compiler.CreateRootAction()
at System.Xml.Xsl.Compiler.Compile(NavigatorInput input, XmlResolver xmlResolver, Evidence evidence)
--- End of inner exception stack trace ---
at System.Xml.Xsl.Compiler.Compile(NavigatorInput input, XmlResolver xmlResolver, Evidence evidence)
at System.Xml.Xsl.XslTransform.Compile(XPathNavigator stylesheet, XmlResolver resolver, Evidence evidence)
at System.Xml.Xsl.XslTransform.Load(String url, XmlResolver resolver)
at System.Xml.Xsl.XslTransform.Load(String url)
at ctlXAlbumLib.ctlXAlbum.cmdExport_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
ctlXAlbumLib
Assembly Version: 0.2.0.0
Win32 Version: 0.2.0.0
CodeBase: file:///F:/MC%20XML%20Export/ctlXAlbumLib.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
----------------------------------------
System
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
System.Drawing
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 7.0.5000.0
Win32 Version: 7.10.3052.4
CodeBase: file:///c:/windows/assembly/gac/microsoft.visualbasic/7.0.5000.0__b03f5f7f11d50a3a/microsoft.visualbasic.dll
----------------------------------------
System.Xml
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll
----------------------------------------
Accessibility
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/accessibility/1.0.5000.0__b03f5f7f11d50a3a/accessibility.dll
----------------------------------------
Interop.MediaJukebox
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///F:/MC%20XML%20Export/Interop.MediaJukebox.DLL
----------------------------------------
************** JIT Debugging **************
To enable just in time (JIT) debugging, the config file for this
application or machine (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the machine
rather than being handled by this dialog.
Anyway, pls understand that timebeing I will stop trying. Pls don't get me
wrong: I very much like to have it working, but I need to have a few guidelines as how to proceed, ie which steps shd be taken.
I do hope you will manage to get out a short description.
By the way, if I click on the [...] button, right from the 'Apply XSL Transformation' box a window shows up, rightfully so.
However, there is this very strange thing..
actually the window shown is ONLY abt 1/3-1/4 of the actual window that shd
be shown. i.e. on my monitor (21") the window is around 29cm wide and 20cm
high, BUT (!) what is shown is the right top corner of 17w x 12h. The rest of the
window is transparent, i.e. you look at MC XML Export which obviously is in the
background.
Good luck.
brgds?marcel