Guest_imported
New member
- Jan 1, 1970
- 0
In the code below I'm trying to create a page of embeded controls that have "structure" attributes from my xml file.
The parser tells me I must supply a quote after "structure="
but whichever way I try it, the quoted string isn't getting in my html.
Cheers.
<xsl:stylesheet xmlns:xsl=" <xsl:template match="/">
<HTML>
<BODY>
<xsl:for-each select="DesignProjectHistory/Sets/Set1/Reagents/R/">
<embed type="chemical/x-mdl-molfile"
structure= <xsl:value-of select="CHIMESTRING"/>
bgcolor="white"
display2d="true"
color="black"
height="300"
width="300">
</embed>
</xsl:for-each>
</BODY>
</HTML>
</xsl:template>
</xsl:stylesheet>
The parser tells me I must supply a quote after "structure="
but whichever way I try it, the quoted string isn't getting in my html.
Cheers.
<xsl:stylesheet xmlns:xsl=" <xsl:template match="/">
<HTML>
<BODY>
<xsl:for-each select="DesignProjectHistory/Sets/Set1/Reagents/R/">
<embed type="chemical/x-mdl-molfile"
structure= <xsl:value-of select="CHIMESTRING"/>
bgcolor="white"
display2d="true"
color="black"
height="300"
width="300">
</embed>
</xsl:for-each>
</BODY>
</HTML>
</xsl:template>
</xsl:stylesheet>