Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

help needed to create a file

  • 15-07-2007 5:51pm
    #1
    Registered Users, Registered Users 2 Posts: 1,943 ✭✭✭


    HI,
    I want to create a file with my test data.
    I am not sure how to do this.
    Can anyone help/suggest ?
    I am not a developer :-( but i can give a try if suggested..

    Requirement:
    I have my data in a excel file: name,ssn number,account number

    I want to have a front end form (may be in html/jsp) with
    a textfield with text "number of lines":
    and submit button.

    when i enter number of lines = 3 and hit submit, i want a xml file to be created with a predefined text:
    <xml>
    <some constant text>
    <name1></name>
    <ssn1></ssn>
    <account1></account>
    <name2></name>
    <ssn2></ssn>
    <account2></account>
    <name3></name>
    <ssn3></ssn>
    <account3></account>
    </some constant text>

    3 records of data should be copied from excel file and create a xml file.

    can anyone help please?


Comments

  • Registered Users, Registered Users 2 Posts: 4,276 ✭✭✭damnyanks


    homework ?


  • Moderators, Politics Moderators Posts: 41,234 Mod ✭✭✭✭Seth Brundle


    damnyanks wrote:
    homework ?
    if(look == duck)
    {...}
    


  • Closed Accounts Posts: 19,777 ✭✭✭✭The Corinthian


    You don't need to program anything. Just insert a number of columns between your fields, populate the element tags in the empty columns, select and copy into a text file and then do a find replace all on the tab characters that will be pasted in when you do this to get rid of them and clean up your document. Job done.


This discussion has been closed.
Advertisement