I currently have an xml file that references a stylesheet. This stylesheet generates an html file based on the xml document that's referencing it. What I want to do is make the xsl stylesheet display an editor that is initially populated with the data from the corresponding xml file. The editor I'm trying to embed into my html is an open source tool called tinyMCE, which is downloadable from http://tinymce.moxiecode.com/download.php
Now, to test out my stylesheet, I open up the corresponding xml file from a web browser, currently using firefox. For whatever reason, I'm getting "tinyMCE not defined in the xml file" error in my browser when opening the xml file. Now there isn't any html code in the xml, the html code is generated within the corresponding spreadsheet..
So my xml file looks something like this
<?xml-stylesheet type="text/xsl" href="mystylesheet.xsl"?>
<elmt1> ... </elmnt1>
My stylehseet looks like this
<xsl:stylesheet versino="1.0 xmlns="http://www.w3.org/1999/XSL/Transform
<xsl:output method="html" indent="yes" encoding="UTF-*" version="1.0" />
mode : "textareas"
<textarea name="content" cols="50" rows="15">This is some content that will be editable by TinyMCE.
Anybody have a clue? If I pull the html above out of the xslt file and put it into a plain ole html file, it works fine. But from the xsl file the browser just locks up. The only way I know there are errors is because I am using firebugs. Its telling me that the tinyMCE object is undefined.