[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

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

Subject: Re: Re[2]: Generating Javascript with HTML tags
From: Robert Koberg <rob@xxxxxxxxxx>
Date: Thu, 09 Nov 2000 04:10:17 -0800
html tags string javascript
You should not be able to see javascript on the html page, let alone see it
bolded.  Do you have your script between script tags?


> > I tried both and it actually bolds the words "FldrDesc (2)". Can
> > anyone else think of another way of keeping it a literal string of
> > "<b>" and "</b>"?
>
> Doesn't that depend on how gFld interprets the string it is passed?
> Assuming it's interpreting it as XML/HTML, 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;"
>
> 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;"));
>
> 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;"));
>   ]]>
>



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.