Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 86115
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T22:11:44+00:00 2026-05-10T22:11:44+00:00

If I send this request to a page: http://www.server.com/show.xml?color=red&number=two Can I do something like

  • 0

If I send this request to a page:

http://www.server.com/show.xml?color=red&number=two 

Can I do something like this?:

I like the color <xsl:url-param name='color' /> and the number <xsl:url-param name='number' />. 

If you need clarification of the question, lemme know

Thanks for any answers,

Chrelad

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T22:11:44+00:00Added an answer on May 10, 2026 at 10:11 pm

    No; in general, XSL engines aren’t tied to a web server.

    However, most XSL engines allow you to pass in some parameters along with your stylesheet and document so what you can do, if you’re calling it from a web-enabled system, is map your GET parameters directly through to your XSL engine.

    For instance, if you were using PHP, you could do something like this:

    <?php  $params = array(     'color' => $_GET['color'],     'number' => $_GET['number'] );  $xsl = new DOMDocument; $xsl->load('mystylesheet.xsl');  $xml = new DOMDocument; $xml->load('mydocument.xml');  $proc = new XSLTProcessor; $proc->importStyleSheet($xsl); // attach the xsl rules  foreach ($params as $key => $val)     $proc->setParameter('', $key, $val);  echo $proc->transformToXML($xml); 

    You’d have to make sure you sanitize anything you passed-through. Then, you can simply do:

    <?xml version='1.0' encoding='UTF-8'?> <xsl:stylesheet    version='1.0'    xmlns:xsl='http://www.w3.org/1999/XSL/Transform'>   <!-- Remember to pick-up the parameters from the engine -->   <xsl:param name='color' />   <xsl:param name='number' />   <xsl:template match='*'>     I like the color <xsl:value-of select='$color' />      and the number <xsl:value-of select='$number' />.   </xsl:template> </xsl:stylesheet> 
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to make a proxy server that gets a page from www.xxx.com
How often do we see stuff like Send this page to a friend on
I am trying to login to this website https://www.virginmobile.com.au programatically (on the right there
I'm trying to make a mod_rewrite which can set the language the rewrite: www.domain.com/da/page.php
This question and answer shows how to send a file as a byte array
By default, Apache 2.0.52 will respond to any HTTP TRACE request that it receives.
I need to send form values from one page to another and from that
I'm doing some work with PyQt4 and QtWebKit, and in the web page request
I got this example demonstrating AJAX from Stoyan Stefanovs Object Oriented JavaScript at page
I have two domains for the same website. I have a single page on

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.