xslt - how to get the hidden control value in xsl variable -
i new xslt. problem have hidden control in 1 xslt file.
<input type="hidden" name="org" id="oid" value="5"/>
i select value in xsl variable in xslt file.
<xsl:variable name="v1" select="//input[@type = 'hidden' , @id = 'oid']/@value"/>
should select value input xml document stylesheet processes. after edit question looks different however; have 'a hidden control in 1 xslt file', , want select in different xslt file. if 1 xslt processes other input path remains same if there literal result element <input type="hidden" name="org" id="oid" value="5"/>
in first xslt document.
Comments
Post a Comment