trace this in the source. here is what i would like to do; i wish to
perform a transform, however the following snippet is not properly
transformed:
<xsl:template match="/">
<script language="JavaScript" type="text/javascript">
<xsl:text>
<![CDATA[
function reset(elem1, elem2) {
elem1.value = "";
elem2.value = "";
}
the output of this stops after 'elem1.value=""', which is to say the
semicolon breaks the transform
the XML file includes the following:
<form ... onsubmit="return validateForm(event, this);">
i am processing this as;
<xsl:attribute name="onsubmit"><xsl:value-of select="/form/@onsubmit"/
></xsl:attribute>once again, it breaks after the semicolon.
my question is, why?