[Issues] [mod_transform 0000006]: Query Args as variables in the XSLT.

issues at outoforder.cc issues at outoforder.cc
Sat Jan 21 18:41:51 EST 2006


A NOTE has been added to this issue. 
====================================================================== 
http://issues.outoforder.cc/view.php?id=6 
====================================================================== 
Reported By:                urkle
Assigned To:                urkle
====================================================================== 
Project:                    mod_transform
Issue ID:                   6
Category:                   Feature Request
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     assigned
Apache Version:             unspecified 
====================================================================== 
Date Submitted:             05-30-2004 00:33 EST
Last Modified:              01-21-2006 18:41 EST
====================================================================== 
Summary:                    Query Args as variables in the XSLT.
Description: 
Parsing and passing in the query args as a $get.variable to the XSLT space.
====================================================================== 

---------------------------------------------------------------------- 
 chip - 06-02-04 22:22  
---------------------------------------------------------------------- 
Do we want to provide access to Post or Cookies or other properties of the
HTTP Request?

Maybe the easy way would be to expose the sub process env... 

---------------------------------------------------------------------- 
 chip - 03-20-05 00:05  
---------------------------------------------------------------------- 
I am less sure this is a good idea.  I am thinking that keeping
mod_transform as simple as possible is the best decsion, long term. 

---------------------------------------------------------------------- 
 urkle - 03-21-05 19:06  
---------------------------------------------------------------------- 
I am thinking only GET for now. and it can be enabled/disabled via the
perdir options, or via a note.

Largely I see this useful in writing/finishing my simplified docbook xslt.
as I can have the XSLT chapterize and TOC the document and provide links to
itself to load different chapters and sections. 

---------------------------------------------------------------------- 
 urkle - 10-21-05 20:36  
---------------------------------------------------------------------- 
implemented XPath NS function  http://outoforder.cc/apache:get(var)

ie.

<xsl:stylesheet
     xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
     xmlns:apache="http://outoforder.cc/apache">
<xsl:template match="*">
  <xsl:value-of select="apache:get('myqueryarg')"/>
</xsl:template>
</xsl:stylesheet>

and call the file with ?myqueryarg=value
http://www.example.com/index.xml?myqueryarg=Hello+out+there

 

---------------------------------------------------------------------- 
 trapni - 01-21-06 18:41  
---------------------------------------------------------------------- 
I am really in need of POST arguments as well, in fact, I can't expect the
user to be happy when he types his username/password into the form and
will (on submit) them see in the URL bar afterthen, you understand?

that's why I'm using POST for at least passing stuff that should be a
little more securely (passwords, credentials)..

I don't know how to retrieve POST arguments within a filter, so, I'd be
happy when someone else could step in here...

regards,
Christian Parpart. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
05-30-04 00:33  urkle          New Issue                                    
05-30-04 00:33  urkle          Apache Version            => unspecified     
06-02-04 22:22  chip           Note Added: 0000002                          
03-20-05 00:05  chip           Status                   new => assigned     
03-20-05 00:05  chip           Assigned To               => chip            
03-20-05 00:05  chip           Note Added: 0000034                          
03-21-05 19:06  urkle          Note Added: 0000035                          
10-21-05 20:33  urkle          Assigned To              chip => urkle       
10-21-05 20:36  urkle          Note Added: 0000053                          
10-21-05 20:36  urkle          Note Edited: 0000053                         
01-21-06 18:41  trapni         Note Added: 0000056                          
======================================================================




More information about the Issues mailing list