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

RE: Tags to prevent XSLT from processing?

Subject: RE: Tags to prevent XSLT from processing?
From: "Kevin Jones" <kjouk@xxxxxxxxxxx>
Date: Tue, 27 Mar 2001 23:14:04 +0100
axkit javascript cdata
>
>Hello all,
>Are there any tags in xsl that prevents the XSLT from
>processing content between those tags?
>Basically, I am outputting html that has some client
>side java script and I dont want XSLT to look at that
>part.

I think what you are probably looking for is a CDATA section to protect your
JavaScript. The FAQ has a good section on the use of CDATA with XSLT at
http://www.dpawson.co.uk/xsl/cdata.html.

>
>Is this a good programming practice in the first
>place?

I think that depends on what you are trying to do. Outputting JavaScript
into HTML from XSLT is quite a common thing to do. There is a balance
between
using XSLT code to control the appearance of a HTML page and using
JavaScript to do client side work. Both approaches have there own strengths
but normally a combination works best.

>
>
>I want to develop web applications.Please advice me. I
>am using a Web Server (I cant use COCOON/axkit) that
>supports only CGI and I cant use Java. How can I
>develop web applications? I dont want to limit my web
>client to IE 5.0 and cant use asp/jsp.  Can any one
>point me to tutorials on developing web applications
>with xml as a representation?

Most of the stuff I know about requires the use of more than a CGI. For a
low transaction site you might get away with using a command line XSLT
processor from your CGI but this is far from the most efficient model. Can
you move to a more functional web server? Java capable servers probably have
the best XSLT support at the moment.

Kev.


 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.