I have the following codes in a xslt template (forms) but it does not render the value of the UserID. The value of userid is rendered in the "normal" global tag Global:Extranet.UserID.
I do get the value with savetemplatexml :
<Global.Extranet.UserID>462</Global.Extranet.UserID>
I cannot understand what the problem is.
<xsl:template match="item[Field.Systemname='NCAB2011_AccessUserID']" priority="1"> <xsl:element name="input"> <xsl:attribute name="type"> <xsl:text>hidden</xsl:text> </xsl:attribute> <xsl:attribute name="name"> <xsl:value-of select="Field.Systemname" /> </xsl:attribute> <xsl:attribute name="value"> <xsl:value-of select="/Template/GlobalTags/Global.Extranet.UserID" /> </xsl:attribute> </xsl:element> </xsl:template>