I have a web site heavily dependent on XML/XSL in which I am using both xsl:sort and xsl:attribute. I am having a conflict and can't seem to resolve it.
On the one hand, I can use...
<xsl:stylesheet version="1.0" xmlns:xsl="
and make use of the xsl:attribute tag as follows...
<input type="text" name="ALIAS" size="15" maxlength="15">
<xsl:attribute name="value">
<xsl:value-of select="/ProfileView/Member/Alias/@value"/>
</xsl:attribute>
</input>
However, I can not seem to get the xsl:sort tag to work using this XMLNS -- for example, the following code fragment results in a "xsl:sort tag not allowed here" error in IE 6...
<xsl:for-each select="/ProfileView/Board">
<xsl:apply-templates select=".">
<xsl:sort select="dbDefs/Name/@value"/>
</xsl:apply-templates>
</xsl:for-each>
Conversely, I can use the statement...
<xsl:stylesheet version="1.0" xmlns:xsl="
and the xsl:sort tag will work, but all of my xsl:attribute calls as shown above result in a "invalid xsl:attribute value" message in IE 6
It seems which ever name space I am using, I am losing one feature or the other.
Can anyone point out where I might be going wrong in this?
TIA
On the one hand, I can use...
<xsl:stylesheet version="1.0" xmlns:xsl="
and make use of the xsl:attribute tag as follows...
<input type="text" name="ALIAS" size="15" maxlength="15">
<xsl:attribute name="value">
<xsl:value-of select="/ProfileView/Member/Alias/@value"/>
</xsl:attribute>
</input>
However, I can not seem to get the xsl:sort tag to work using this XMLNS -- for example, the following code fragment results in a "xsl:sort tag not allowed here" error in IE 6...
<xsl:for-each select="/ProfileView/Board">
<xsl:apply-templates select=".">
<xsl:sort select="dbDefs/Name/@value"/>
</xsl:apply-templates>
</xsl:for-each>
Conversely, I can use the statement...
<xsl:stylesheet version="1.0" xmlns:xsl="
and the xsl:sort tag will work, but all of my xsl:attribute calls as shown above result in a "invalid xsl:attribute value" message in IE 6
It seems which ever name space I am using, I am losing one feature or the other.
Can anyone point out where I might be going wrong in this?
TIA