|
next
|
 Subject: Bug when switching from WYSIWYG to XSLT source Author: Christos Karras Date: 25 Nov 2003 10:54 AM
|
When I switch from XSLT Source to WYSIWYG view and then back to XSLT Source, some of my code is removed or corrupted. I have encountered the following bugs (Stylus Studio 5.0 build 127f):
1. If I have:
<xsl:apply-templates mode="test" select=".">
<xsl:with-param name="var" select="'value'"/>
</xsl:apply-templates>
After switching to WYSIWYG and then back to source, the <xsl:with-param> disappears.
This only seems to happen with an apply-templates that has a mode="" and select="." or select="*". If I select a specific name (select="test"), the bug doesn't happen
2. Some html tags get corrupted, for example:
<a href="test.html" onmouseout="MM_swapImgRestore();" onMouseOver="MM_swapImage('img1','','images/arrow_green_over.gif',1);">test</a>
becomes this after switching from source to WYSIWYG and then back to source:
<a onmouseout='MM_swapImgRestore(); href="test.html"' href="test.html" onmouseover="MM_swapImage('img1','','images/arrow_green_over.gif',1);">test</a>
|
|
|