This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Re[2]: Generating Javascript with HTML tags
- To: "'Jeni Tennison'" <mail at jenitennison dot com>
- Subject: RE: Re[2]: Generating Javascript with HTML tags
- From: "RUSSO, EDITH" <EDIRUS at SAFECO dot com>
- Date: Thu, 9 Nov 2000 09:45:11 -0800
- cc: "'XSL-List at mulberrytech dot com'" <XSL-List at mulberrytech dot com>
- Reply-To: xsl-list at mulberrytech dot com
>Doesn't that depend on how gFld interprets the string it is passed?
>Assuming it's interpreting it as XML/HTML,
good assumption!
> to stop it from
>interpreting the <b>...</b> as a bold element you need gFld to be
>passed the string:
>
> "<b>FldrDesc (2)</b>"
correct
>
>In this case, you need to construct some Javascript that looks like:
>
> fldr1 = insFld(fT, gFld("&lt;b&gt;FldrDesc
(2)&lt;/b&gt;"));
this works
>which you can do in your XSLT either with the above line or with:
>
> <![CDATA[
> fldr1 = insFld(fT, gFld("<b>FldrDesc (2)</b>"));
> ]]>
and so does this! I like this solution better that the other
>
>I hope that helps,
thanks so much!!!
>
>Jeni
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list