Hi,
I am having a strange problem defining the declare attribute of the OBJECT tag. My code is so:
<xsl:template match="artistDetails:currentTrack"> <xsp:element name="object"> <xsp:attribute name="data">music/Borderline.mp3</xsp:attribute> <xsp:attribute name="type">audio/mpeg</xsp:attribute> <xsp:attribute name="declare">declare</xsp:attribute> </xsp:element> </xsl:template>
When the page is rendered as HTML, and the source viewed, the object tag reads as:
<object data="music/Borderline.mp3" type="audio/mpeg" declare></object>. This is incorrect. It should read:
<object data="music/Borderline.mp3" type="audio/mpeg" declare="declare"></object>.
It's the HTML serializer doing this. If you change to XHTML it must not do it.
Joerg
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]