Hi All,
I have a requirement to pass the all incoming headers(we don't know which headers client is sending) to dp:url-open in xslt/
I have tried to read the incoming header names using the service variable(var://service/header-mainfest) as below.
<xsl:variable name="IncomingHeaders" select="dp:variable('var://service/header-mainfest')"/>
<xsl:variable name="IncomingHeaderswithValues">
<xsl:for-each select=$IncomingHeaders/headers/header">
<xsl:variable name="headername" select="@name"/>
<xsl:variable name="headervalue" select="dp:http-request-header('headername')"/>
<header name="$headername"> <xsl:value-of select="$headervalue"/> </header>
</xsl:for-each>
</xsl:variable>
but i'm unable to get the header values, do we have any other way to read the incoming headers dynamically. Thanks in advance!
------------------------------
bhargav chaluvadi
------------------------------