Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Dec 2002
    Thanked 0 Times in 0 Posts

    Passing variables via link to xml/xsl.

    Ok here is my problem.

    I am designing a small commercial website that is intended
    to be compact and easy to browse. As a result I have designed
    it so far so it all fits on one page.

    I have a large (but not overly massive) amount of data I want
    to show to represent items to be sold. I am doing the browsing
    from a menu. This data will be shown in an <iframe> I have in
    the page, whose src I intend to alter via the menu click. What
    I originally intended to do was to have large xml files which
    would hold each section's data. An xsl file would of course
    transform this to displayable data in the iframe island. My
    question is this though, can I pass a name through the menu,
    to pass to the xsl file so it knows what individual data to
    look for, to transform?

    In HTML it is obvious, blah.com/blah2?name=fluffy etc., but
    what is that syntax when dealing with xsl/xml?

    I realize this may be a stupid question, and whilst I have
    done some work in xml/xsl, and read a lot about it, and learned
    a fair amount, I have never seen this written down anywhere. So
    I'm risking looking stupid

    Thank you,


  2. #2
    Join Date
    May 2002
    Hayward, CA
    Thanked 24 Times in 22 Posts
    Should be the same. That's controlled not by HTML, but by HTTP.
    "The first step to confirming there is a bug in someone else's work is confirming there are no bugs in your own."
    June 30, 2001
    author, ES7-Membrane project (Github Pages site)
    author, Verbosio prototype XML Editor
    author, JavaScript Developer's Dictionary


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts