If I use dom in a php can I use a php Get form to Request data in XSL that is embedded in the XML?
Orginal XSL for-each line:
<xsl:for-each select="//pic[@category]">
to:
<xsl:for-each select=" <?php echo $_REQUEST[‘name’]; ?>">
So it can change from:
select="//pic[@category]" —to—> select="//pic[@category=‘kitchen’]"
It’s kindof like a “Search” XML but the Search is limited to just Search Results of: “All (being the default)” (<xsl:for-each select="//pic[@category]">), “Kitchen”(<xsl:for-each select="//pic[@category=‘kitchen’]">), “Bath” (<xsl:for-each select="//pic[@category=‘bath’]">), “Home”(<xsl:for-each select="//pic[@category=‘home’]">).
Send me a private message to me if you want me to send you the zip files of the XML and the XSL
Is this possible or is there some other way than PHP to do this? I’ve tried Javascript in an XSL but that didn’t work.