akg250978
07-04-2006, 04:51 PM
here is a problem i have below is html mixed with xsl, values entered goes in both input and xsl this works, ok
<input type="text" id="InputDuplicates1" name="Duplicates1" class="hide">
<xsl:attribute name="value">
<xsl:value-of select="e/field/Duplicates1"/>
</xsl:attribute>
</input>
but my problem is with this one?
so any1 out there i would appreciate if u could help :thumbsup:
Inputs[0]= document.createElement("input");
Inputs[0].setAttribute("id","InputaddDocuments2");
Inputs[0].setAttribute("name","addDocuments"+nums);
Inputs[0].setAttribute("type","text");
XSLValues[0]= document.createElement("xsl");
XSLValues[0].setAttribute("name","value");
XSLValues[0].setAttribute("value-of select","efields/field/addDocuments2");
the reason it's like this is because it is inserting a row dynamically and most of the parts work it's just this 1, i need the values of input to in the xsl tags, i am quite a newbie xsl and creating things dynamic
<input type="text" id="InputDuplicates1" name="Duplicates1" class="hide">
<xsl:attribute name="value">
<xsl:value-of select="e/field/Duplicates1"/>
</xsl:attribute>
</input>
but my problem is with this one?
so any1 out there i would appreciate if u could help :thumbsup:
Inputs[0]= document.createElement("input");
Inputs[0].setAttribute("id","InputaddDocuments2");
Inputs[0].setAttribute("name","addDocuments"+nums);
Inputs[0].setAttribute("type","text");
XSLValues[0]= document.createElement("xsl");
XSLValues[0].setAttribute("name","value");
XSLValues[0].setAttribute("value-of select","efields/field/addDocuments2");
the reason it's like this is because it is inserting a row dynamically and most of the parts work it's just this 1, i need the values of input to in the xsl tags, i am quite a newbie xsl and creating things dynamic