This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Re[2]: Generating Javascript with HTML tags


>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:
>
>  "&lt;b&gt;FldrDesc (2)&lt;/b&gt;"
correct
>
>In this case, you need to construct some Javascript that looks like:
>
>  fldr1 = insFld(fT, gFld("&amp;lt;b&amp;gt;FldrDesc
(2)&amp;lt;/b&amp;gt;"));
this works
>which you can do in your XSLT either with the above line or with:
>
>  <![CDATA[
>    fldr1 = insFld(fT, gFld("&lt;b&gt;FldrDesc (2)&lt;/b&gt;"));
>  ]]>
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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]