XML/XSL and querystrings

Results 1 to 2 of 2

Thread: XML/XSL and querystrings

  1. #1
    Josh Newman Guest

    Default XML/XSL and querystrings

    Hello,<BR><BR> I am new to XML/XSL. I have written an XSL that loops through an XML document and creates several hyperlinks. These hyperlinks are the same, except an "Author_ID=x" is added to the end of the hyperlink (the x is dynamic, based on the Author_ID in the XML file)<BR><BR> My question is how can I retrieve this unique Author_ID from the subsequent XSL page? I would love to use ASP to do a response.querystring call, but I can&#039;t use ASP on the next XSL page.<BR><BR> Does anyone know the best way to pass values from one page to the next?<BR><BR>Thanks for any help . . .<BR><BR>- Josh

  2. #2
    Join Date
    Dec 1969

    Default RE: XML/XSL and querystrings

    at the top of your &#039;next&#039; XSL page, include this line:<BR><BR>&#060;xsl:param name="Author_ID"&#062;&#060;/xsl:param&#062;<BR><BR>Now you can, in the XSL doc, refer to the Author_ID passed via the querystring like this: $Author_ID

Posting Permissions

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