OZONE Asylum
Forums
XML - XSL - XSLT - XHTML - CSS - DOM
XSLT and Query Strings
This page's ID:
11163
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
Pitcher, Cameron is right, XSLT is not aware of the querystring value in the browser. You can easily pass the value to XSLT using server side code, like ASP. What I tend to do is convert the entire querystring to a XML piece (again, using ASP) ending up with something like this: <QUERYSTRING> <Q name="user_name">Karlos</Q> <Q name="icq_num">22861496</Q> </QUERYSTRING> More on XSLT parameters (straight out of XML Core SDK): Passing Values into XSLT Using Global Parameters To pass a value into an XSLT style sheet at run time, you must perform the following steps. Declare a global XSLT parameter in the style sheet. Call the addParameter method on the XSLProcessor object, from a script, to assign a value to the parameter. ... the rest of this found here --- [url=http://msdn.microsoft.com/library/default.asp?url=/library/en-us/xmlsdk/htm/xsl_advanced1_82yb.asp]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/xmlsdk/htm/xsl_advanced1_82yb.asp[/url] Karl
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »