[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
RE: Is there any way to access user request response in xsl
Subject: RE: Is there any way to access user request response in xsl From: Ben Robb <Ben@xxxxxxxxxx> Date: Thu, 17 Feb 2000 12:43:38 -0000 |
Also, if you are using ASP, there is nothing to stop you putting some asp in the XSL, provided you call it via HTTP rather than the file system, and you give it an ASP extension [note that the OUTPUT of the ASP must be well formed and valid]. This works because the XSL is called via the ISAPI filter, which automatically runs the ASP code before giving it to the parser. Thus you can pass it a querystring in the same way as one would normally in ASP. Ben > -----Original Message----- > From: Igor Nakshin [mailto:inakshin@xxxxxxxxxxx] > Sent: 17 February 2000 12:00 > To: xsl-list@xxxxxxxxxxxxxxxx > Subject: RE: Is there any way to access user request response in xsl > > > ural, > > MSXML Jan 2000 technology preview has that capability. > Look at XMLDOMXSLProcessor.addParameter method. > > Igor. > > > -----Original Message----- > > From: owner-xsl-list@xxxxxxxxxxxxxxxx > > [mailto:owner-xsl-list@xxxxxxxxxxxxxxxx]On Behalf Of ural > > Sent: Thursday, February 17, 2000 10:28 AM > > To: xsl-list@xxxxxxxxxxxxxxxx > > Subject: Is there any way to access user request response in xsl > > > > > > hi,, > > > > I am using asp as frontend. > > my xml file is > > <?xml version="1.0" ...?> > > <abc> > > <News> > > <title>..............</title> > > <abstract>...........</abstract> > > </News> > > > > <News> > > <title>..............</title> > > <abstract>...........</abstract> > > </News> > > </abc> > > > > > > I have an xsl file to access this xml data. > > > > In my Asp page suppose I write something like this, > > > > if request.queryString("id")=1 then > > first_news.xsl > > else > > second_news.xsl > > end if > > > > Then it is not good habit. because tomorrow if I have another 10 > > news then > > I cannot sit and create 10 xsl files, right. > > So, what I want is, > > I want to send some value to xsl file from asp file. ie as > we send some > > value as querystring in asp. and based on this value I want to > > make my xsl > > file act upon. > > > > ie if I send 1 as query string, for example, then I must > get only first > > element. If it is 2 then I should get 2nd element. > > > > Is it possible? > > If it is... then please help in this regards. This may be a silly > > question. > > But I am new to xml and xsl. > > So please help.................. > > > > rgds > > Ural > > > > > > 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: number and XT, Kay Michael | Thread | large and small numbers in xsl, DUDGEON |
Inclusion of XML data in Javascript, Philip McAllister | Date | Re: document() revisited, Steve Tinney |
Month |