ASP Error: 70
Description: Permission denied
Source: Microsoft VBScript runtime error
|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Using URL parameters in XSL
Hi Julian,
i understand that you wish to apply an XSL to a XML
file, and supply imageNum parameter with the URL.
Instead of trying to do transformation on browser as
http://bla.bla/batman.xml?imageNum=3 , you may shift
your XSLT processsing on server side. The advantage is
that *this will work with all the browsers*. For e.g.
if you are in a position to use JSP, you can easily do
http://bla.bla/sompage.jsp?imageNum=3 . Then in this
JSP you can easily extract imageNum value using
request.getParameter("imageNum") and then can call a
Java XSLT processor and return the result of transform
to browser.
Regards,
Mukul
--- Julian Wood <woodj@xxxxxxxxxxx> wrote:
> Hi Mukul,
>
> Thanks for your response. Unfortunately this is a
> user-generated
> parameter (from another local (ie on CD) web page),
> so I don't see how
> I can write their choice to a file, or even
> manipulate a file so it
> reflects their choice, such that I could read it in
> via document(). I
> was thinking sending it as a get parameter in the
> URL would be best,
> but still no luck in getting it back again in the
> next xsl document.
>
> Regards,
> J
>
> On Sunday, August 10, 2003, at 10:40 PM, Mukul
> Gandhi wrote:
>
> > Hi Julian,
> > i don't know whether it will really be possible
> to
> > get parameter value as you want. But i can think
> of an
> > alternative approach. You can create another XML
> file
> > for e.g. param.xml having something like --
> >
> > <?xml version="1.0" encoding="UTF-8"?>
> > <param>3</param>
> >
> > In your XSL you can use document() function to
> access
> > param.xml and the <param> tag's value..
> >
> > Regards,
> > Mukul
> --
> Julian Wood
>
> Programmer/Analyst
> Learning Commons, University of Calgary
>
>
> XSL-List info and archive:
> http://www.mulberrytech.com/xsl/xsl-list
>
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
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
|

Cart








