Forum Moderators: open

Message Too Old, No Replies

parse URL to XML variable

         

spike4000

2:38 pm on Apr 25, 2005 (gmt 0)

10+ Year Member



I'm passing a value to an XML program in a URL. What is the syntax in the XML to read the variable from the URL?

choster

1:17 pm on Apr 26, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



It would depend on the processor, wouldn't it? In our system they get passed through as <xsl:param>.

brucec

2:41 pm on Apr 26, 2005 (gmt 0)

10+ Year Member



That also depends what language you use to read the values in the URL. Are you using PHP, ASP, CGI?

Then, like choster said, you can use XSL to process the value.

spike4000

3:16 pm on Apr 26, 2005 (gmt 0)

10+ Year Member



Yes, I also thought I should use xsl:param but it's not picking up the value from the URL. Can you tell me the exact syntax for that? My URL looks like:
[some.site...]
I want to choose only the vnums from the xml datagram that match what's in the URL parameter.

Thank you.

spike4000

3:17 pm on Apr 26, 2005 (gmt 0)

10+ Year Member



I'm using CGI