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

RE: Using Transforms and #include file

Subject: RE: Using Transforms and #include file
From: "Hellstern, Manny" <manny.hellstern@xxxxxxxxxxxxxx>
Date: Tue, 13 Nov 2001 10:23:51 -0600
innerhtml include file
I'm doing that currently. There are two reasons for what I'm trying to do
this

1.  My site has a lot of functionality all in one page because of the
".innerHTML" technique I'm using.  I only need specific scripts for specific
content so I didn't want to mass load all script.

2. When I use the ".innerHTML" method I notice that eventhough you can see
the representation with the browser, if you try to "viewsource" nothing
shows up. I'm thinking that If I output my script in the same manner I don't
have to bare my "script soul" to the world.

-----Original Message-----
From: Hunsberger, Peter [mailto:Peter.Hunsberger@xxxxxxxxxx]
Sent: Tuesday, November 13, 2001 10:07 AM
To: 'xsl-list@xxxxxxxxxxxxxxxxxxxxxx'
Subject: RE:  Using Transforms and #include file



> Is it possible to have something like the following output from XSL so
that
> the actual script gets inserted?  I was trying to avoid actually putting
all
> of my script into the XSL file.

Why not just have your HTML include the scripts at run time as external
files?  
I.e. output something like:

            <script language="javascript" src="JScripts/Buttons.js"
type="text/javascript"/>

which will cause the HTML file to pick up the script file from the server
and include it client side.  That way you don't have to ship it multiple
times to the client...


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

 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.