I have a page that is styling XML with XSLT. I need to get parameters from an URL f.ex and use that parameter in the XSLT to decide wich element to display.
Lets assume this is my XML
Code:
<data>
<content-one>
<![CDATA[]]>
</content-one>
<content-two>
<![CDATA[]]>
</content-two>
</data>
If the url says
web.com/?parameter=1 I wanna display <content-one> and if url says
web.com/?parameter=2 I wanna display <content-two>
Is this possible?