E
eric.goforth
Hello,
I'm getting:
msxml3.dll (0x80004005)
Error while parsing "file:///c:/WWWROOT/includes/Inc.xsl". A name was
started with an invalid character.
When I put in the "{$sDisabledString}"
<xslaram name="sName"></xslaram>
<xslaram name="sValue"></xslaram>
<xslaram name="sAction"></xslaram>
<xslaram name="sDisabled"></xslaram>
<xslaram name="nMaxLength"></xslaram>
<xslaram name="nSize"></xslaram>
<xsl:choose>
<xsl:when test="$sDisabled = 'Yes' or $sDisabled = '1' or $sDisabled
='True'">
<xsl:variable name="sDisabledString">disabled=""
style="background-color:#e8e8e8;"</xsl:variable>
</xsl:when>
<xsltherwise>
<xsl:variable name="sDisabledString"></xsl:variable>
</xsltherwise>
</xsl:choose>
<INPUT TYPE="text" SIZE="{$nSize}" MAXLENGTH="{$nMaxLength}"
NAME="{$sName}" VALUE="{$sValue}" "{$sDisabledString}"
onblur="{$sAction}"></INPUT>
Why can't I put in a name value pair (or pairs) in a variable like
this?
-Eric
I'm getting:
msxml3.dll (0x80004005)
Error while parsing "file:///c:/WWWROOT/includes/Inc.xsl". A name was
started with an invalid character.
When I put in the "{$sDisabledString}"
<xslaram name="sName"></xslaram>
<xslaram name="sValue"></xslaram>
<xslaram name="sAction"></xslaram>
<xslaram name="sDisabled"></xslaram>
<xslaram name="nMaxLength"></xslaram>
<xslaram name="nSize"></xslaram>
<xsl:choose>
<xsl:when test="$sDisabled = 'Yes' or $sDisabled = '1' or $sDisabled
='True'">
<xsl:variable name="sDisabledString">disabled=""
style="background-color:#e8e8e8;"</xsl:variable>
</xsl:when>
<xsltherwise>
<xsl:variable name="sDisabledString"></xsl:variable>
</xsltherwise>
</xsl:choose>
<INPUT TYPE="text" SIZE="{$nSize}" MAXLENGTH="{$nMaxLength}"
NAME="{$sName}" VALUE="{$sValue}" "{$sDisabledString}"
onblur="{$sAction}"></INPUT>
Why can't I put in a name value pair (or pairs) in a variable like
this?
-Eric