[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Practicality of Separating Data from Presentation
I use ASP! All depends on what you are trying to do. ASP is a server side language. The same way you can not auto-generate ASP code from an ASP page(because it only passes once trough the server), you can not do it with XSLT, unless you find a way to passe it trouhg the ASP processor before send it to the clien. ASP is not recursive. you can not (at least I don't think so) do something like: <% Response.write "<%=Response.QueryString(""TEXT"")%>" it only write to the client <%=Response.QueryString("TEXT")%>, not the value of the Response.QueryString("TEXT") to do that, the asp page would have to pass trough the asp processor twice. -----Original Message----- From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of James Fuller Sent: Tuesday, July 02, 2002 12:42 AM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: Practicality of Separating Data from Presentation does anyone use ASP anymore ? i dont ! geez i was certain you would get a load of responses, seems like there is a distinct lack of skillset in this area, ehehe definately quiet out there, cheers, jim fuller ----- Original Message ----- From: <intelikon@xxxxxxxxx> To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> Sent: Monday, July 01, 2002 11:09 PM Subject: Re: Practicality of Separating Data from Presentation > Unfortunately I have to use ASP for this project :( > > TG > ----- Original Message ----- > From: "Robert S. Koberg" <rob@xxxxxxxxxx> > Date: Mon, 01 Jul 2002 14:52:33 -0700 > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: 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"><</xsl:text>%= Now %<xsl:text disable-output-escaping="yes">></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 > > > > > > -- > __________________________________________________________ > Sign-up for your own FREE Personalized E-mail at Mail.com > http://www.mail.com/?sr=signup > > Save up to $160 by signing up for NetZero Platinum Internet service. > http://www.netzero.net/?refcd=N2P0602NEP8 > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|