Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Jul 2006
    Location
    london
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    any1 good @ Html and XSl

    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

    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

  • #2
    New to the CF scene
    Join Date
    Jul 2006
    Location
    london
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts
    it's alright i found the solution


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •