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

issues at outoforder.cc issues at outoforder.cc
Fri Oct 21 20:36:08 EST 2005


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:              10-21-2005 20:36 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:get(var)">
<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 

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                          
======================================================================




More information about the Issues mailing list