Hi,

instead of CDATA use

<xsl:attribute name="attribute_name" select="xpath_to_value"/>
or

<xsl:attribute name="attribute_name">
  value
</xsl:attribute>

Jens

On Sun, 3 Jun 2001, Allan Kamau wrote:

> Hi all,
> I have been trying to produce a radio button whose
> value is automatically generated through XSL
> tranformation.
> in my I have the following code in the .xsl
>
>
> <xsl:template name="childDay3" match="*" >
> <td class="detailsColumn">
>               <xsl:value-of select="." />
>               <xsl:variable name="thisDay" select="./text()" />
>               <<![CDATA[input type=radio name=day
> value=']]><xsl:value-of select="./text()"
> /><![CDATA[']]> />
> </td>
> </xsl:template>
>
> After the transformation special characters get
> escaped and the string gets printed on the browser
> instead of producing the radio button am interested
> in.
>
> How could I overcome the is problem. and have the
> radio button displayed and have the value of it's
> value property to have been automatically generated by
> the .xsl .
> Thank you in advance.
>
>
> Allan Kamau
>
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail - only $35
> a year!  http://personal.mail.yahoo.com/
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to