Welcome to WebmasterWorld Guest from 184.108.40.206
Forum Moderators: httpwebwitch
Newbie XML programmer here. Can I access a variable passed along on the URL with XML? I have been scowering the web and this forum but, cannot find an answer to this so, I am guessing it is not possible?
IE: I want to get the value of the CategoryID variable below
How can I grab that CategoryID and dereference it?
Thanks very much for the help.
[edited by: httpwebwitch at 11:03 pm (utc) on Sep. 4, 2009]
[edit reason] examplified the example [/edit]
With a php page you can simply GET the contents from the url, and use it within your page. What you would then do is echo the contents of the file in an xml format. Then when a user or XML reader accesed the page all they would see would be the XML. Even although the XML is generated using php code, and is a dynamic php page.
Actually, this is straight XML that is being generated through a CMS that my company uses. We are using XSL to pretty it up for the web and transform it into HTML but the underlying code is XML.
I am working on some dynamic portions and know PHP very well. I am just starting to learn XML and wanted to know if I could grab the GET variables like I can in PHP.