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

Accessing URL Parameters In A XSLT Page

Subject: Accessing URL Parameters In A XSLT Page
From: "Haeko Pierce" <haeko@xxxxxxxxxxx>
Date: Fri, 07 Sep 2001 13:06:37 -0700
xslt page url
Hello folks,

I'm having problems using xslt to access the parameters sent in a URL. This is the URL that calls the my customer login xslt page, in this page I wanted to read some parameters from the calling URL add a name parameter and forward it to another page... This is how it goes

http://localhost/reservation/custlogin.xslt?AId=2&FId=3

This is my custlogin.xslt code

<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" media="Mozilla" href="ticketreservHTML.xsl"?>


<index xmlns:xslt="urn:oracle-xsql">
<topTitle>
Login Screen
</topTitle>
<pageTitle>Ticket Master</pageTitle>
<form action="/ticket/ticketresv.xsql" method="get">
<field name="AId" type="hiddenField">
<value>{@AId}</value>
</field>
<field name="Name" type="textField" case="U">
<Prompt>Your Name</Prompt>
</field>
<sendRequest type="button" label="Sign in"/>
</form>
</index>

Now in my xsl stylesheet, element <field name="AId"...> is mapped to HTML tag <input type="hidden" name=AId value=..(i/p from url)>

I hoped to have the value for "AId" from the URL assigned to the "value" attribute, so that I could pass them all into the page specified by the form action attribute.
But the "value field" is empty and not getting populated with the values from the URL.


Can someone please assist and tell me how to pass the url params to the next page. Thanks for your time...

Cheers

Haeko




_________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


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.