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

Re: Practicality of Separating Data from Presentation

Subject: Re: Practicality of Separating Data from Presentation
From: "Robert S. Koberg" <rob@xxxxxxxxxx>
Date: Mon, 01 Jul 2002 14:52:33 -0700
Re:  Practicality of Separating Data from Presentation
Hi, more of a question...

intelikon@xxxxxxxxx wrote:

---------------------------------------------------------------
- XSLT is good for some things, some rather easy things become very
hard to
do in XSLT... XSLT is a very good partner to existing languages. In
addition, u can use XSLT as a preprocessor, auto generating ASP for
example.
This is where XSLT is a star in auto generating code for you.
---------------------------------------------------------------
My next question, James, would be, what is the best way (in your opinion) for auto-generating ASP?  Do you have any examples of ASP code being generated through an XSLT file?  Does it involve 'overloading' the XSLT file with ASP code - i.e. writing some ASP code within the XSLT file?  I have seen some code like the following:

<xsl:text disable-output-escaping="yes">&lt;</xsl:text>%= Now %<xsl:text disable-output-escaping="yes">&gt;</xsl:text>

as a way to create ASP code. What would be some pro's and con's to this approach - assuming there are both?


Is there a way to write well-formed ASP? You can with JSP. If so, you won't need to write all the escapes (and people won't throw rocks when you ask questions :).


best,
-Rob



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.