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

Im trying to find how to take a page request such as http://www.domain.com/sam/?dog=woof&cat=meow and
I have a url string like this: http://www.google.com/cse?cx=017840637368510444960:ny1lmky7r-0&client=google-csbe&output=xml_no_dtd&q=simon+g I need to send this url
I want to send this URL as a request to the server to change
This is what I want to do: I want to send an HTTP request
I am trying to make a proxy server that gets a page from www.xxx.com
I'm trying to send a HTTP POST request to a Google server and get
I'm trying to send a POST request to a PHP script (http://mywebsite/index/test/ in this
I would like to send a html string with a GET request like this
I need to send this XML <?xml version=1.0 encoding=UTF-8?> <gate> <country>NO</country> <accessNumber>1900</accessNumber> <senderNumber>1900</senderNumber> <targetNumber>4792267523</targetNumber>
How often do we see stuff like Send this page to a friend 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.